This repository contains a plugin for Ghidra that enables decompilation support for the MCPX X-Codes in Ghidra
This project requires Gradle 7+ and OpenJDK 11. It has only been tested on Ghidra 10.2.2.
gradle -PGHIDRA_INSTALL_DIR=/path/to/ghidra buildExtension
Builds are distributed on the RELEASES page. These can be installed
directly into Ghidra by selecting File -> Install Extensions
from the main Ghidra UI.
The installation includes support for the XCode instruction set, as well as a file loader that will detect original xbox firmware files and automatically setup the memory space for the firmware.
xdecode: https://github.com/Ernegien/xdecode
xbox dev wiki: https://xboxdevwiki.net/The_Hidden_Boot_Code_of_the_Xbox#The_Xcodes
mborgerson's blog: https://mborgerson.com/deconstructing-the-xbox-boot-rom/
- Use knowledge in xemu and xbox dev wiki to document memory, IO and PCI conf address space to provide context on actions.