using System.Runtime.InteropServices;
namespace BurnOutSharp.Models.LinearExecutable
{
///
/// The object table contains information that describes each segment in
/// an executable file. This information includes segment length, segment
/// type, and segment-relocation data. The following list summarizes the
/// values found in in the segment table (the locations are relative to
/// the beginning of each entry):
///
///
[StructLayout(LayoutKind.Sequential)]
public class ObjectTableEntry
{
///
/// Virtual segment size in bytes
///
public uint VirtualSegmentSize;
///
/// Relocation base address
///
public uint RelocationBaseAddress;
///
/// Object flags
///
/// No flags are documented properly
public uint ObjectFlags;
///
/// Page map index
///
public uint PageMapIndex;
///
/// Page map entries
///
public uint PageMapEntries;
///
/// ???
///
public uint Reserved;
}
}