mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-29 08:20:01 -05:00
patterns/pe: Use appropriate pointer for first section placement (#300)
This commit is contained in:
@@ -1106,7 +1106,7 @@ struct Section {
|
||||
currentSectionIndex += 1; // Make the current section index the next section's index
|
||||
} [[name(sectionsTable[currentSectionIndex-1].name)]];
|
||||
|
||||
Section sections[coffHeader.numberOfSections] @ coffHeader.optionalHeader.sizeOfHeaders;
|
||||
Section sections[coffHeader.numberOfSections] @ sectionsTable[0].ptrRawData;
|
||||
|
||||
// Symbol & String Tables
|
||||
enum SectionNumberType : s16 {
|
||||
|
||||
Reference in New Issue
Block a user