mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 18:27:04 +03:00
Fix main() detection in mangling script
This commit is contained in:
parent
522bf8be7f
commit
73b59a95cd
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ public class MSVC7Mangle extends GhidraScript {
|
|||
// main() and extern "C" symbols get C name mangling
|
||||
// (some other things, do, too, but just use extern "C" instead
|
||||
// of making me find and list them all...)
|
||||
return nameRaw == "main" ||
|
||||
return nameRaw.equals("main") ||
|
||||
nameRaw.startsWith("extern_\"C\"::") ? mangleCFn (f)
|
||||
: mangleCppFn(f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue