2025-04-12 18:11:07 +03:00
|
|
|
namespace X86Disassembler.PE;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Represents an exported function in a PE file
|
|
|
|
/// </summary>
|
|
|
|
public class ExportedFunction
|
|
|
|
{
|
|
|
|
public string Name; // Function name
|
|
|
|
public ushort Ordinal; // Function ordinal
|
2025-04-12 18:49:23 +03:00
|
|
|
public uint AddressRva; // Function RVA
|
2025-04-12 18:11:07 +03:00
|
|
|
public bool IsForwarder; // True if this is a forwarder
|
|
|
|
public string ForwarderName; // Name of the forwarded function
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the ExportedFunction class
|
|
|
|
/// </summary>
|
|
|
|
public ExportedFunction()
|
|
|
|
{
|
|
|
|
// Initialize string fields to avoid nullability warnings
|
|
|
|
Name = string.Empty;
|
|
|
|
ForwarderName = string.Empty;
|
|
|
|
}
|
|
|
|
}
|