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
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.
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.
Set up a CVE monitor with AI scoring and alerts
Use n8n to watch multiple vulnerability sources, score each CVE, and send near-real-time alerts to your team.
Wire an MCP math server into your agent
They let an agent route math work to MathKernel, which planned the request and delegated computation to several theorem and numeric engines.
Set up behaviors for a small ROS2 robot
A builder used an onboard agentic OS to program a compact robot through behaviors, code tools, and ROS2 topics.
Have Gemini write robot control plans from vision and speech
A developer used Gemini to turn camera input and robot tools into Python plans, then drove robot actions with voice commands.