mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-5916: Checking for IMAGE_FUNCTION_RUNTIME_ENTRY.BeginAddress != 0
before creating function (#8414)
This commit is contained in:
parent
729642cbf6
commit
105f9ef570
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ public class ImageRuntimeFunctionEntries_X86 implements ImageRuntimeFunctionEntr
|
||||||
*/
|
*/
|
||||||
public void markup(Program program) throws DuplicateNameException, IOException {
|
public void markup(Program program) throws DuplicateNameException, IOException {
|
||||||
|
|
||||||
if (!unwindInfo.hasChainedUnwindInfo()) {
|
if (beginAddress != 0 && !unwindInfo.hasChainedUnwindInfo()) {
|
||||||
AbstractProgramLoader.markAsFunction(program, null,
|
AbstractProgramLoader.markAsFunction(program, null,
|
||||||
program.getImageBase().add(beginAddress));
|
program.getImageBase().add(beginAddress));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue