pedro-javierf / NTRGhidra

A Nintendo DS binary loader for Ghidra
Apache License 2.0
159 stars 12 forks source link

Ghidra Finding SDK Functions #18

Open Kuumba123 opened 1 year ago

Kuumba123 commented 1 year ago

Describe the solution you'd like Add the ability to automatically find SDK C library functions to save time reverse engineering games.

pedro-javierf commented 12 months ago

Hi @Kuumba123

I tried to get this solution working some time ago. For those who read this, Ghidra has support for FIDB (Function ID dataset). Back in the day I tried to go through the different SDK functions (from the different leaked nintendo ds nitro SDKs) and generate FIDB function signatures for them, then you could import them and use them during analysis, but it was not perfect and I recall there were some collisions.

Probably someone could give it another try now in 2023 and report if the results are good, I think the FIDB codebase might have improved. I would happily bundle the files with a new release of the plugin, to easy reverse engineering.

Kuumba123 commented 12 months ago

yeah there was a new update for ghidra pretty recently .

Kuumba123 commented 12 months ago

forgot about the 1st part of your message @pedro-javierf . Ill atleast see what I can do but already have like 3 DS related things I plan on working on next year when I have more free time. If could explaination as to how to get FIDB for functions that would be very helpful !