mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-05-19 03:41:18 +03:00
23 lines
687 B
C#
23 lines
687 B
C#
namespace X86Disassembler.PE;
|
|
|
|
/// <summary>
|
|
/// Represents an imported function in a PE file
|
|
/// </summary>
|
|
public class ImportedFunction
|
|
{
|
|
public string Name; // Function name
|
|
public ushort Hint; // Hint value
|
|
public bool IsOrdinal; // True if imported by ordinal
|
|
public ushort Ordinal; // Ordinal value (if imported by ordinal)
|
|
public uint ThunkRVA; // RVA of the thunk for this function
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the ImportedFunction class
|
|
/// </summary>
|
|
public ImportedFunction()
|
|
{
|
|
// Initialize string field to avoid nullability warning
|
|
Name = string.Empty;
|
|
}
|
|
}
|