mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 09:47:09 +08:00
GP-3127 - PDB - Override overzealous thunk detection
This commit is contained in:
+6
-4
@@ -258,10 +258,12 @@ public class FunctionSymbolApplier extends MsSymbolApplier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean succeededSetFunctionSignature = false;
|
boolean succeededSetFunctionSignature = false;
|
||||||
if (!function.isThunk() &&
|
if (thunkSymbol == null) {
|
||||||
function.getSignatureSource().isLowerPriorityThan(SourceType.IMPORTED)) {
|
function.setThunkedFunction(null);
|
||||||
succeededSetFunctionSignature = setFunctionDefinition(monitor);
|
if (function.getSignatureSource().isLowerPriorityThan(SourceType.IMPORTED)) {
|
||||||
function.setNoReturn(isNonReturning);
|
succeededSetFunctionSignature = setFunctionDefinition(monitor);
|
||||||
|
function.setNoReturn(isNonReturning);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// If signature was set, then override existing primary mangled symbol with
|
// If signature was set, then override existing primary mangled symbol with
|
||||||
// the global symbol that provided this signature so that Demangler does not overwrite
|
// the global symbol that provided this signature so that Demangler does not overwrite
|
||||||
|
|||||||
Reference in New Issue
Block a user