You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Code Size","Size of the code (text) section, or the sum of all code sections if there are multiple sections."));
69
-
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Initialized Data Size","Size of the initialized data section, or the sum of all initialized data sections if there are multiple data sections."));
70
-
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Uninitialized Data Size","Size of the uninitialized data section, or the sum of all uninitialized data sections if there are multiple uninitialized data sections."));
71
-
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Entry Point RVA","RVA of entry point, needs to point to bytes 0xFF 0x25 followed by the RVA in a section marked execute / read for EXEs or 0 for DLLs"));
72
-
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Base Of Code","RVA of the code section."));
73
-
entries.Add(newEntry(reader.Offset,header.Magic==PEMagic.PE32Plus?reader.ReadUInt64():reader.ReadUInt32(),header.Magic==PEMagic.PE32Plus?8:4,"Base Of Data","RVA of the data section."));
74
-
entries.Add(newEntry(reader.Offset,header.Magic==PEMagic.PE32Plus?reader.ReadUInt64():reader.ReadUInt32(),header.Magic==PEMagic.PE32Plus?8:4,"Image Base","Shall be a multiple of 0x10000."));
75
-
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Section Alignment","Shall be greater than File Alignment."));
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Image Size","Size, in bytes, of image, including all headers and padding; shall be a multiple of Section Alignment."));
85
-
entries.Add(newEntry(reader.Offset,reader.ReadInt32(),4,"Header Size","Combined size of MS-DOS Header, PE Header, PE Optional Header and padding; shall be a multiple of the file alignment."));
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Code Size","Size of the code (text) section, or the sum of all code sections if there are multiple sections."));
69
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Initialized Data Size","Size of the initialized data section, or the sum of all initialized data sections if there are multiple data sections."));
70
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Uninitialized Data Size","Size of the uninitialized data section, or the sum of all uninitialized data sections if there are multiple uninitialized data sections."));
71
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Entry Point RVA","RVA of entry point, needs to point to bytes 0xFF 0x25 followed by the RVA in a section marked execute / read for EXEs or 0 for DLLs"));
72
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Base Of Code","RVA of the code section."));
73
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,header.Magic==PEMagic.PE32Plus?reader.ReadUInt64():reader.ReadUInt32(),header.Magic==PEMagic.PE32Plus?8:4,"Base Of Data","RVA of the data section."));
74
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,header.Magic==PEMagic.PE32Plus?reader.ReadUInt64():reader.ReadUInt32(),header.Magic==PEMagic.PE32Plus?8:4,"Image Base","Shall be a multiple of 0x10000."));
75
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Section Alignment","Shall be greater than File Alignment."));
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Image Size","Size, in bytes, of image, including all headers and padding; shall be a multiple of Section Alignment."));
85
+
entries.Add(newEntry(headers.PEHeaderStartOffset+reader.Offset,reader.ReadInt32(),4,"Header Size","Combined size of MS-DOS Header, PE Header, PE Optional Header and padding; shall be a multiple of the file alignment."));
0 commit comments