Files
SabreTools.Models/PortableExecutable/ExportNamePointerTable.cs
2023-09-10 21:24:10 -04:00

23 lines
821 B
C#

namespace SabreTools.Models.PortableExecutable
{
/// <summary>
/// The export name pointer table is an array of addresses (RVAs) into the export name table.
/// The pointers are 32 bits each and are relative to the image base. The pointers are ordered
/// lexically to allow binary searches.
///
/// An export name is defined only if the export name pointer table contains a pointer to it.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
public sealed class ExportNamePointerTable
{
/// <summary>
/// The pointers are 32 bits each and are relative to the image base.
/// </summary>
#if NET48
public uint[] Pointers { get; set; }
#else
public uint[]? Pointers { get; set; }
#endif
}
}