Skip to content

Commit

Permalink
UEFIHelper: Replace call to NTHeader.createNTHeader with constructor
Browse files Browse the repository at this point in the history
This was replaced in [1], which is included in Ghidra 10.2.

[1]: NationalSecurityAgency/ghidra@96674d4
  • Loading branch information
al3xtjames committed Nov 4, 2022
1 parent b15060c commit b070816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghidra_scripts/UEFIHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public void run() throws Exception {
peBlock.getBytes(peBlock.getStart(), blockBytes);
BinaryReader reader = new BinaryReader(new ByteArrayProvider(blockBytes), true);
int ntHeaderOffset = reader.readInt(0x3C);
NTHeader ntHeader = NTHeader.createNTHeader(reader, ntHeaderOffset,
NTHeader ntHeader = new NTHeader(reader, ntHeaderOffset,
PortableExecutable.SectionLayout.FILE, false, false);
println("Loaded Portable Executable");

Expand Down

0 comments on commit b070816

Please sign in to comment.