mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-4283 Added missing check for destination function existence when creating an implied match.
This commit is contained in:
@@ -241,7 +241,13 @@ public class ImpliedMatchUtils {
|
||||
if (sourceFunction.getProgram()
|
||||
.getFunctionManager()
|
||||
.getFunctionAt(srcRefToAddress) == null) {
|
||||
return null; // function may not have been created here.
|
||||
return null; // source function may not have been created here.
|
||||
}
|
||||
|
||||
if (destinationFunction.getProgram()
|
||||
.getFunctionManager()
|
||||
.getFunctionAt(destRefToAddress) == null) {
|
||||
return null; // destination function may not have been created here.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user