Files
BinaryObjectScanner/BurnOutSharp.Models/LinearExecutable/Executable.cs

72 lines
2.3 KiB
C#
Raw Normal View History

2022-11-04 10:34:49 -07:00
namespace BurnOutSharp.Models.LinearExecutable
{
/// <summary>
/// The `LINEAR` executable-file header contains information that the loader requires for
/// segmented executable files. This information includes the linker version number, data
/// specified by linker, data specified by resource compiler, tables of segment data, tables
/// of resource data, and so on. The following illustrations shows the LE file header:
/// </summary>
/// <see href="https://faydoc.tripod.com/formats/exe-LE.htm"/>
/// <see href="http://www.edm2.com/index.php/LX_-_Linear_eXecutable_Module_Format_Description"/>
public class Executable
{
/// <summary>
/// MS-DOS executable header
/// </summary>
public MSDOS.ExecutableHeader Stub { get; set; }
2022-11-04 12:55:43 -07:00
/// <summary>
/// Information block
/// </summary>
public InformationBlock InformationBlock { get; set; }
2022-11-04 12:59:50 -07:00
/// <summary>
/// Object table
/// </summary>
public ObjectTableEntry[] ObjectTable { get; set; }
2022-11-04 13:48:30 -07:00
/// <summary>
/// Object page table
/// </summary>
public ObjectPageTableEntry[] ObjectPageTable { get; set; }
2022-11-04 14:51:57 -07:00
// TODO: Object iterate data map table [Does this exist?]
/// <summary>
/// Resource table
/// </summary>
public ResourceTableEntry[] ResourceTable { get; set; }
2022-11-04 15:00:11 -07:00
/// <summary>
/// Resident Name table
/// </summary>
public ResidentNameTableEntry[] ResidentNameTable { get; set; }
2022-11-04 12:55:43 -07:00
// TODO: Entry table
/// <summary>
/// Module format directives table (optional)
/// </summary>
public ModuleFormatDirectivesTableEntry[] ModuleFormatDirectivesTable { get; set; }
2022-11-04 15:00:11 -07:00
// TODO: Resident directives data
// TODO: Per-page checksum table
2022-11-04 12:55:43 -07:00
// TODO: Fix-up page table
// TODO: Fix-up record table
// TODO: Imported modules name table
// TODO: Imported procedures name table
2022-11-04 15:00:11 -07:00
// TODO: Preload Pages
// TODO: Demand Load Pages
// TODO: Iterated Pages
/// <summary>
/// Non-Resident Name table
/// </summary>
public NonResidentNameTableEntry[] NonResidentNameTable { get; set; }
2022-11-04 12:55:43 -07:00
2022-11-04 15:00:11 -07:00
// TODO: Non-resident directives data
// TODO: Debug Info
2022-11-04 10:34:49 -07:00
}
}