|
ReXGlue SDK
|
Public Member Functions | |
| GuestModule (FunctionDispatcher *function_dispatcher) | |
| kernel::GuestAddressSpace * | GetAddressSpace () const |
| FunctionDispatcher * | GetFunctionDispatcher () const |
| virtual const std::string & | GetName () const =0 |
| virtual bool | IsExecutable () const =0 |
| virtual u32 | GetBaseAddress () const |
| virtual u32 | GetImageSize () const |
| virtual u32 | GetEntryPoint () const |
| virtual u32 | GetExportTableAddress () const |
| virtual u32 | GetExceptionDirectoryRVA () const |
| virtual u32 | GetExceptionDirectorySize () const |
| virtual u32 | GetExceptionDirectoryAddress () const |
| bool | IsExecutableAddress (u32 address) const |
| virtual std::span< const BinarySection > | GetBinarySections () const |
| virtual const BinarySection * | FindSectionByAddress (u32 address) const |
| virtual std::span< const BinarySymbol > | GetBinarySymbols () const |
Protected Attributes | |
| FunctionDispatcher * | function_dispatcher_ = nullptr |
| kernel::GuestAddressSpace * | memory_ = nullptr |
| std::vector< BinarySection > | binary_sections_ |
| std::vector< BinarySymbol > | binary_symbols_ |
|
explicit |
Builds a module.
| function_dispatcher | The dispatcher that supplies the memory, may be null. |
|
virtual |
|
inlinevirtual |
Reimplemented in rex::kernel::ELFModule, and rex::kernel::XEXModule.
|
virtual |
Returns the binary sections, empty by default.
Reimplemented in rex::kernel::XEXModule.
|
virtual |
Returns the binary symbols, empty by default.
Reimplemented in rex::kernel::XEXModule.
|
inlinevirtual |
Reimplemented in rex::kernel::ELFModule, and rex::kernel::XEXModule.
|
inlinevirtual |
Returns the guest address of the PDATA table in the exception data directory, 0 by default.
Reimplemented in rex::kernel::XEXModule.
|
inlinevirtual |
Returns the RVA of the PDATA table in the exception data directory, 0 by default.
Reimplemented in rex::kernel::XEXModule.
|
inlinevirtual |
Returns the size of the PDATA table in the exception data directory, 0 by default.
Reimplemented in rex::kernel::XEXModule.
|
inlinevirtual |
Reimplemented in rex::kernel::XEXModule.
|
inlinevirtual |
Reimplemented in rex::kernel::ELFModule, and rex::kernel::XEXModule.
|
pure virtual |
Implemented in rex::kernel::ELFModule, and rex::kernel::XEXModule.
|
protected |
Populated by derived classes.