Map ROM functions with Claude in Ghidra
A developer used Claude inside Ghidra to inspect an Atari River Raid ROM, identify key routines, and rename them.
- What they did
- They connected Claude to Ghidra through MCP and pointed it at an unlabeled 8 kB Atari ROM that Ghidra treated as 6502 code. Claude read hardware-register clues, concluded it was an Atari title, and tracked down the routine that cuts the lives count. The developer handled the rebasing manually, did it twice, and made the one-byte patch outside Ghidra.
- How it went
- After swapping DEY to NOP, the emulator showed the lives counter locked at 3. Claude guessed Centipede instead of River Raid and had a hard time making sense of the sprite data. The MCP tools did not support rebasing or writing the binary.
- Tips
- Set aside time for a slow workflow: the tool chain had four parts, and some calls took about 30 seconds. It works best as an analysis aid, not a full patching system.
Try it yourself with Claude Code
Connect Claude to Ghidra through MCP, open [ROM or binary file], and inspect the code and data to figure out what each routine does. Use disassembly, register references, and any nearby strings or patterns to suggest descriptive names for the functions. Before any action that would permanently change the file—such as saving, patching, deleting, or submitting—pause and ask me to approve it. When you are done, return a labeled function map and note which guesses are uncertain.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Have Claude take a bioinformatics challenge from paper to report
At a hackathon, Pedro Beltrao’s team used Claude agents to work through 13 bioinformatics prediction problems end to end.
Generate editable CAD models from a text prompt
An agent can draft a 3D part from plain language, then let you fine-tune key measurements before export.
Use an agent to hunt for smart contract bugs
A red-team benchmark let Claude search forked chains for contract weaknesses and draft exploit code in an hour.
Use Claude to verify code against crash bugs
Anthropic’s red team had Claude turn fuzz tests into formal specs and prove that selected RISC-V binaries would not crash on valid inputs.
Pick models by testing them on the real job
A developer compared several models on a UAV software project and found that detailed plans still didn’t stop weaker ones from making serious mistakes.
Use Claude to probe hardware and write a driver
A user had Claude inspect a USB device and help build a new driver for hardware that broke on a newer macOS.