Relocations are broken
See original GitHub issueIt appears that relocations are currently being applied incorrectly. For example, in Dark Cloud, in EscapeDungeonMode
there should be a jump to SearchItemIndexNo
like this:
001f3f58 50 f6 06 0c jal CDngStatusData::SearchItemIndexNo undefined SearchItemIndexNo(int param_1)
However, instead, the jump is to an invalid address like this:
001f3f58 a0 ec 0d 0c jal SUB_0037b280
If you look in Ghidra’ relocation table view, you can see that this is due to a relocation at this address (which is incorrect):
001f3f58 0x4 0x2c1d 50 f6 06 0c SearchItemIndexNo__14CDngStatusDataFi
Both IDA and ps2dis do not alter the initial value and produce correct results. This can be seen in a number of other places too, but I picked one example for convenience.
Issue Analytics
- State:
- Created 4 years ago
- Comments:56 (3 by maintainers)
Top GitHub Comments
The fixes won’t come until the release of ghidra 9.2. There was an issue with extension points that has since been resolved. I also need to do some major cleanup and reorganization but hopefully it shouldn’t be to long.
You may give this a shot. I won’t put it up in a branch until I’ve removed the unused code and figure out how I want to handle the irx modules.
ghidra_9.2_DEV_20201005_ghidra-emotionengine.zip