2025-04-12 18:11:07 +03:00
|
|
|
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)
|
2025-04-12 18:49:23 +03:00
|
|
|
public uint ThunkRva; // RVA of the thunk for this function
|
2025-04-12 18:11:07 +03:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the ImportedFunction class
|
|
|
|
/// </summary>
|
|
|
|
public ImportedFunction()
|
|
|
|
{
|
|
|
|
// Initialize string field to avoid nullability warning
|
|
|
|
Name = string.Empty;
|
|
|
|
}
|
|
|
|
}
|