mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
chore(doc): explain how manage symbol files and import into Ghidra
This commit is contained in:
parent
494c653c00
commit
976f683271
1 changed files with 15 additions and 1 deletions
14
README.md
14
README.md
|
|
@ -38,3 +38,17 @@ void Name__Space__Thing();
|
||||||
# Symbol files
|
# Symbol files
|
||||||
|
|
||||||
Symbol files are text files that map function names and data labels to addresses.
|
Symbol files are text files that map function names and data labels to addresses.
|
||||||
|
|
||||||
|
In this repo, `script/compile-symbols` is used to concatenate our organized symbol files into one big file (`<game version>/symbol/main.sym`).
|
||||||
|
|
||||||
|
To import this file to your Ghidra project,
|
||||||
|
|
||||||
|
1. go to `Window` > `Script Manager`
|
||||||
|
2. In the table view, lookup `ImportSymbolsScript.py`
|
||||||
|
3. Run the script
|
||||||
|
4. Enter the path to `<game version>/symbol/main.sym`
|
||||||
|
|
||||||
|
To refresh the `main.sym` file after changing one of the constituent symbol files:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
script/compile-symbols <game version>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue