Compare commits

..

2 commits

Author SHA1 Message Date
KeybadeBlox
e7e9d3b1be Add .gitignore entry for Ghidra project
May make it an official recommendation to have a project named "JSRF"
here.
2026-03-22 20:20:46 -04:00
KeybadeBlox
d6a356a0c3 Handle undefined WINDIR on POSIX platforms
The test for whether it was defined was failing with an error on
platforms where it wasn't defined.
2026-03-22 20:18:09 -04:00
3 changed files with 9 additions and 6 deletions

View file

@ -16,10 +16,10 @@
"source_path": "src/JSRF/Jet2.cpp" "source_path": "src/JSRF/Jet2.cpp"
}, },
"symbol_mappings": { "symbol_mappings": {
"?main_funcinfo@@3UFuncInfo@@A": "$T1112", "?main_funcinfo@@3UEHFuncInfo@@A": "$T1130",
"?main_handler@@YAXPAUEHExceptionRecord@@PAKPAXPAU_xDISPATCHER_CONTEXT@@@Z": "$L1116", "?main_handler@@YAXPAUExceptionRecord@@PAKPAXPAUEHDispatcherContext@@@Z": "$L1134",
"?main_handler_unwind1@@YAXXZ": "$L1108", "?main_handler_unwind1@@YAXXZ": "$L1126",
"?main_unwindmap@@3PAUUnwindMapEntry@@A": "$T1118", "?main_unwindmap@@3PAUEHUnwindMapEntry@@A": "$T1136",
"[.rdata-0]": "[.xdata$x-0]" "[.rdata-0]": "[.xdata$x-0]"
} }
}, },

3
ghidra/.gitignore vendored
View file

@ -1 +1,4 @@
jsrf.h jsrf.h
# In case you'd like to put your Ghidra project here
project

View file

@ -67,7 +67,7 @@ delink() {
# $5: Output path (inside decompile/target/) # $5: Output path (inside decompile/target/)
# Call the right script depending on whether we're on Windows # Call the right script depending on whether we're on Windows
# (this seems like the most reliable method I can find for POSIX sh) # (this seems like the most reliable method I can find for POSIX sh)
if [ -n "$WINDIR" ]; then suffix=.bat if [ -n "${WINDIR-}" ]; then suffix=.bat
else suffix= else suffix=
fi fi