mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-02-04 00:39:08 +00:00
fix(include): fix up type abbreviations
This commit is contained in:
parent
b8e5ccb9ae
commit
58f7996e35
5 changed files with 34 additions and 1 deletions
17
README.md
17
README.md
|
|
@ -8,7 +8,18 @@ You can use the information here to get a headstart when working on the [Whoa pr
|
|||
|
||||
To make reverse engineering easier, C header files matching the original memory layout are provided.
|
||||
|
||||
The header `<game version>/include/main.h` to import type definitions into your analysis repository.
|
||||
## Importing headers
|
||||
|
||||
To use these headers in Ghidra,
|
||||
|
||||
1. go to `File` > `Parse C Source...`.
|
||||
2. Select `clib.prf` as your parse configuration, and clear all source files and input paths.
|
||||
3. Add the header `<game version>/include/main.h` to the `Source files to parse` combo box.
|
||||
4. press `Parse to Program`.
|
||||
|
||||
TODO: equivalent guide for IDA Pro.
|
||||
|
||||
## Maintaining headers
|
||||
|
||||
Headers should be restricted at all times to the C programming language only. C++ syntax will break type analysis.
|
||||
|
||||
|
|
@ -23,3 +34,7 @@ should become:
|
|||
```c
|
||||
void Name__Space__Thing();
|
||||
```
|
||||
|
||||
# Symbol files
|
||||
|
||||
Symbol files are text files that map function names and data labels to addresses.
|
||||
Loading…
Add table
Add a link
Reference in a new issue