diff --git a/BurnOutSharp.Models/PortableExecutable/Executable.cs b/BurnOutSharp.Models/PortableExecutable/Executable.cs index 830b9e08..57c0a589 100644 --- a/BurnOutSharp.Models/PortableExecutable/Executable.cs +++ b/BurnOutSharp.Models/PortableExecutable/Executable.cs @@ -56,6 +56,6 @@ namespace BurnOutSharp.Models.PortableExecutable /// public DelayLoadDirectoryTableEntry[] DelayLoadDirectoryTable { get; set; } - // TODO: Left off at "Import Lookup Table" + // TODO: Left off at "The .pdata Section" } } diff --git a/BurnOutSharp.Models/PortableExecutable/HintNameTableEntry.cs b/BurnOutSharp.Models/PortableExecutable/HintNameTableEntry.cs new file mode 100644 index 00000000..d6b46eda --- /dev/null +++ b/BurnOutSharp.Models/PortableExecutable/HintNameTableEntry.cs @@ -0,0 +1,23 @@ +namespace BurnOutSharp.Models.PortableExecutable +{ + /// + /// One hint/name table suffices for the entire import section. + /// + /// + public class HintNameTableEntry + { + /// + /// An index into the export name pointer table. A match is attempted first + /// with this value. If it fails, a binary search is performed on the DLL's + /// export name pointer table. + /// + public ushort Hint; + + /// + /// An ASCII string that contains the name to import. This is the string that + /// must be matched to the public name in the DLL. This string is case sensitive + /// and terminated by a null byte. + /// + public byte[] Name; + } +}