A first look at Ghidra’s Debugger – Game Boy Advance Edition #Nintendo #ReverseEngineering @NSA @wrongbaud
Ghidra is a software reverse engineering (SRE) framework created and maintained by the National Security Agency Research Directorate. This framework includes a suite of full-featured, high-end software analysis tools that enable users to analyze compiled code on a variety of platforms including Windows, macOS, and Linux. Capabilities include disassembly, assembly, decompilation, graphing, and scripting, along with hundreds of other features. Ghidra supports a wide variety of processor instruction sets and executable formats and can be run in both user-interactive and automated modes. Users may also develop their own Ghidra plug-in components and/or scripts using Java or Python.
The latest release includes single-step debugging of a program within Ghidra through a GDB stub or other various debug mechanisms. To celebrate this Wrongbaud’s Blog wanted to review how to build this version of Ghidra and give an example of how to use this debugger on a fun target.
Wrongbaud’s target is the Game Boy Advance game Spiderman: Mysterio’s Menace. The goal is to demonstrate how to properly load this ROM using a custom loader, and connect to an emulator GDB stub using Ghidra’s debugging features.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.