mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
Change executable section flags to please objiff
objdiff assumes that all symbols in executable memory sections are code, which led to misbehaviour due to .rdata and .data being marked as executable in JSRF. We now set these sections to non-executable in Ghidra to work around this.
This commit is contained in:
parent
70cc4ca688
commit
8eda56dcdf
3 changed files with 17 additions and 6 deletions
|
|
@ -14,8 +14,11 @@
|
|||
"source_path": "src/JSRF/Jet2.cpp"
|
||||
},
|
||||
"symbol_mappings": {
|
||||
"_main_handler": "$L522",
|
||||
"_main_handler_unwind1": "$L514"
|
||||
"[.rdata-0]": "[.xdata$x-0]",
|
||||
"_main_funcinfo": "$T519",
|
||||
"_main_handler": "$L523",
|
||||
"_main_handler_unwind1": "$L515",
|
||||
"_main_unwindmap": "$T525"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue