mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 00:18:02 +03:00
Refactor: Move classes to separate files with one-liner namespace style
This commit is contained in:
@ -27,26 +27,4 @@ namespace X86Disassembler.PE
|
||||
DllName = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents an exported function in a PE file
|
||||
/// </summary>
|
||||
public class ExportedFunction
|
||||
{
|
||||
public string Name; // Function name
|
||||
public ushort Ordinal; // Function ordinal
|
||||
public uint Address; // Function RVA
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user