mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-4283 Added missing check for destination function existence when creating an implied match.
This commit is contained in:
parent
c8790828f4
commit
653e3d8f80
1 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue