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:
22
X86Disassembler/PE/ImportedFunction.cs
Normal file
22
X86Disassembler/PE/ImportedFunction.cs
Normal file
@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user