Include headless demangling in delink.sh

This means we get delinked objects with proper mangled names matching
our recompiled files.
This commit is contained in:
KeybadeBlox 2026-02-11 20:23:26 -05:00
parent 55046bf009
commit 53b0e82417
2 changed files with 32 additions and 4 deletions

View file

@ -65,8 +65,11 @@ delink() {
export MSYS_NO_PATHCONV=1
"$1/support/analyzeHeadless$suffix" "$2" "$3"\
-readOnly\
-process default.xbe\
-noanalysis\
-scriptPath ghidra_scripts\
-preScript MSVC7Mangle.java $4\
-postScript DelinkProgram.java\
/exporter 'COFF relocatable object'\
$(printf "/include-range %s " $4)\