obhq / reverse-engineering

PS4 reverse engineering project
https://obhq.github.io/reverse-engineering/
BSD Zero Clause License
11 stars 1 forks source link

Allow importing into ghidra #2

Open SuchAFuriousDeath opened 6 months ago

SuchAFuriousDeath commented 6 months ago

I didn't look it it much, but I think that ghidra allows importing types from a C header file. If we displayed the structs as C structs instead of tables, we could make a huge header file with all the types.

ultimaweapon commented 6 months ago

There should be a better way than the C struct like export from Ghidra directly.

SuchAFuriousDeath commented 6 months ago

I'm not against that

ultimaweapon commented 6 months ago

Seems like there are no better way. The problem with C headers is it will also export all of related structs.

ultimaweapon commented 1 month ago

Another idea is create a Ghidra extension to parse our custom DSL.