Merge remote-tracking branch 'origin/Ghidra_11.4'

This commit is contained in:
Ryan Kurtz
2025-06-06 14:31:03 -04:00

View File

@@ -150,7 +150,13 @@ public class ControlFlowGuard {
}
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.");
}
}
}