mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-04-26 01:35:22 +02:00
GP-5625 rtti script added some missing null checks
This commit is contained in:
@@ -3437,7 +3437,9 @@ public class RTTIGccClassRecoverer extends RTTIClassRecoverer {
|
||||
|
||||
Function calledFunction =
|
||||
extendedFlatAPI.getReferencedFunction(instruction.getMinAddress(), false);
|
||||
if (calledFunction.getName().equals(expectedCalledFunctionName)) {
|
||||
|
||||
if (calledFunction != null &&
|
||||
calledFunction.getName().equals(expectedCalledFunctionName)) {
|
||||
return instruction.getAddress();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user