mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-05-19 03:41:18 +03:00
25 lines
880 B
C#
25 lines
880 B
C#
namespace X86Disassembler.PE;
|
|
|
|
/// <summary>
|
|
/// Represents an Import Descriptor in a PE file
|
|
/// </summary>
|
|
public class ImportDescriptor
|
|
{
|
|
public uint OriginalFirstThunkRva; // RVA to original first thunk
|
|
public uint TimeDateStamp; // Time and date stamp
|
|
public uint ForwarderChain; // Forwarder chain
|
|
public uint DllNameRva; // RVA to the name of the DLL
|
|
public string DllName; // The actual name of the DLL
|
|
public uint FirstThunkRva; // RVA to first thunk
|
|
|
|
public List<ImportedFunction> Functions { get; } = new List<ImportedFunction>();
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the ImportDescriptor class
|
|
/// </summary>
|
|
public ImportDescriptor()
|
|
{
|
|
// Initialize string field to avoid nullability warning
|
|
DllName = string.Empty;
|
|
}
|
|
} |