Skip to content

DiscoStarslayer/ghidra-mcpx-xcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCPX XCodes Ghidra Plugin

This repository contains a plugin for Ghidra that enables decompilation support for the MCPX X-Codes in Ghidra

Building

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

Installing

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.

References

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/

Todo

  • Use knowledge in xemu and xbox dev wiki to document memory, IO and PCI conf address space to provide context on actions.