 Maschell
		
	
	fb3ec7fe28
	
	
	Only get the ElfSectionHeader in the RelocationHandler if it's not a special section header index to avoid a ArrayIndexOutOfBoundsException
			Maschell
		
	
	fb3ec7fe28
	
	
	Only get the ElfSectionHeader in the RelocationHandler if it's not a special section header index to avoid a ArrayIndexOutOfBoundsException
		
	
Ghidra RPX/RPL loader
This is a (WIP) simple extension to open .rpx and .rpl files with Ghidra.
Dependencies
This loader uses the Gekko/Broadway processor definitions for Ghidra if found - it is recommended that this should be installed prior to using the loader.
https://github.com/aldelaro5/ghidra-gekko-broadway-lang
The loader will fallback to the default PowerPC processor if the Gekko/Broadway language is not found, but do not expect good results if the program uses any paired single instructions.
Usage
Install the extension using the Install Extensions option inside Ghidra or extract the .zip manually into [GHIDRA_ROOT]\Ghidra\Extensions. Make sure to restart the program after installing.
Once the extension is installed, you can import a .rpx/.rpl file via File->Import File....
Building
cd /path/to/extension
export GHIDRA_INSTALL_DIR=/path/to/ghidra 
gradle 
Output goes into dist
Eclipse
To be able open this module in eclipse, you need to create a new Ghidra Module and copy the .classpath, .project and .settings to copy of this repository.
Credits
Based on https://github.com/Relys/rpl2elf