mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Fixing analysis fail with function entryPoint may not be created on
defined data error (Closes #8238)
This commit is contained in:
committed by
Ryan Kurtz
parent
54ba166144
commit
700a06e897
@@ -150,7 +150,13 @@ public class ControlFlowGuard {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (Address target : getFunctionAddressesFromTable(program, tableData)) {
|
for (Address target : getFunctionAddressesFromTable(program, tableData)) {
|
||||||
AbstractProgramLoader.markAsFunction(program, null, target);
|
if (program.getListing().getDefinedDataAt(target) == null) {
|
||||||
|
AbstractProgramLoader.markAsFunction(program, null, target);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
log.appendMsg("Unable to mark Control Flow Guard function at " + target +
|
||||||
|
". Data is already defined there.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user