mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-08-17 18:38:32 +08:00
Merge branch 'GP-7085_ryanmkurtz_PR-9397_Thraetaona_pe-export-table'
into patch (Closes #9396, Closes #9397)
This commit is contained in:
+1
-1
@@ -314,7 +314,7 @@ public class ExportDataDirectory extends DataDirectory implements StructConverte
|
||||
|
||||
// See if this function has an associated name exported for it.
|
||||
for (int j = 0; j < numberOfNames; ++j) {
|
||||
int jthOrdinalVal = reader.readShort(pointerToOrdinals + (j * 2));
|
||||
int jthOrdinalVal = reader.readUnsignedShort(pointerToOrdinals + (j * 2));
|
||||
if (jthOrdinalVal == i) {
|
||||
int jthNameRVA = reader.readInt(pointerToNames + (j * 4));
|
||||
int jthNamePtr = ntHeader.rvaToPointer(jthNameRVA);
|
||||
|
||||
Reference in New Issue
Block a user