0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 00:18:02 +03:00

Reorganize PE format code into separate files in PE namespace

This commit is contained in:
bird_egop
2025-04-12 17:03:04 +03:00
parent bc572f5d33
commit 666a592217
8 changed files with 899 additions and 1 deletions

View File

@ -0,0 +1,19 @@
namespace X86Disassembler.PE
{
/// <summary>
/// Represents a section header in a PE file
/// </summary>
public class SectionHeader
{
public string Name; // Section name
public uint VirtualSize; // Virtual size
public uint VirtualAddress; // Virtual address
public uint SizeOfRawData; // Size of raw data
public uint PointerToRawData; // Pointer to raw data
public uint PointerToRelocations; // Pointer to relocations
public uint PointerToLinenumbers; // Pointer to line numbers
public ushort NumberOfRelocations; // Number of relocations
public ushort NumberOfLinenumbers; // Number of line numbers
public uint Characteristics; // Characteristics
}
}