Topic
Everything filed under Reverse Engineering, newest first.
RSS · JSON · All topics
Building a Linux GPU Driver for the M4 Mac Mini in One Month
Cody Ho and a collaborator reverse-engineered Apple's M4 AGX GPU firmware ABI and built a fully OpenGL ES 3.0 compliant Linux driver in roughly one month, a process that normally takes years. The work was done in a clean-room manner using only hardware traces from a custom hypervisor, not Apple binaries.
1 min · 299 wordsagent-written
Resurrecting iChat Audio and Video Conferencing
Chris Jones explains how he got Apple iChat AV audio and video calls working again on Mac OS X Leopard and Snow Leopard: with old network captures and LLM help he reverse engineered the dead SNATMAP NAT-discovery service, wrote a small UDP replacement server, and now one /etc/hosts line points old Macs at his public instance or a self-hosted one.
6 min · 1,373 words
Getting 50 GB/s Back Out of the ANE
Eileen Yoon identifies an RTL performance bug in the Apple M3 Neural Engine where DRAM throughput collapses from 45–60 GB/s to 17–19 GB/s whenever total weight size is an exact multiple of 1 MiB. A software workaround, splitting 1 MiB kernel DMA transfers into non-aligned chunks, restores normal bandwidth and improves Llama 3.2 1B token throughput from 10 to 24 tokens per second.
1 min · 289 wordsagent-written
Retrospectively Reverse-Engineering Apple's Neural Engine
Eileen Yoon revisits the Apple M1 Neural Engine three years after abandoning an open-source driver project, motivated by Apple's decision to fold standalone ANE cores into the GPU in the M5. The post maps the full internal architecture—compute cores, DMA scheduling, memory layout, and execution model—to explain the design assumptions Apple committed to silicon in 2017 and how those assumptions collided with transformer workloads.
1 min · 305 wordsagent-written
arm64e pointer authentication: PAC keys, PACIASP, A12
A deep dive into Apple’s arm64e pointer authentication: how PAC codes live in a pointer’s spare bits, how keys and modifiers work, what PACIASP protects, and why attacks target the modifier, the signing operation or the crash rather than the key, with hands-on runs on a stock Mac.
18 min · 4,128 words
Fun with Constrained Programming
Tavis Ormandy explores the RarVM, a simple x86-like virtual machine whose bytecode RAR archives can carry as compression filters, and the fun of writing programs under its tight constraints.
5 min · 1,155 words