Skip to content
Discussion options

You must be logged in to vote

Take a look at this class as a starting point: https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Processors/x86/src/main/java/ghidra/app/util/bin/format/coff/relocation/X86_64_CoffRelocationHandler.java

As long as your new class name ends with ...CoffRelocationHandler, Ghidra will automatically pick it up as a relocation handler. You'll need to implement the canRelocation() method such that it only returns true if the fileHeader indicates it's MIPS R4000.

I am not sure if you know how to develop a Ghidra Extension so I will leave things here for now.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@voyagerjuno
Comment options

Answer selected by voyagerjuno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants