ReImplement XexModule::GetProcAddress
This commit is contained in:
@@ -628,6 +628,21 @@ struct xex2_export_table {
|
||||
ordOffset[1]; // 0x2C ordOffset[0] + (imagebaseaddr << 16) = function
|
||||
};
|
||||
|
||||
// Little endian PE export directory (from winnt.h)
|
||||
struct X_IMAGE_EXPORT_DIRECTORY {
|
||||
uint32_t Characteristics;
|
||||
uint32_t TimeDateStamp;
|
||||
uint16_t MajorVersion;
|
||||
uint16_t MinorVersion;
|
||||
uint32_t Name;
|
||||
uint32_t Base;
|
||||
uint32_t NumberOfFunctions;
|
||||
uint32_t NumberOfNames;
|
||||
uint32_t AddressOfFunctions; // RVA from base of image
|
||||
uint32_t AddressOfNames; // RVA from base of image
|
||||
uint32_t AddressOfNameOrdinals; // RVA from base of image
|
||||
};
|
||||
|
||||
} // namespace xe
|
||||
|
||||
#endif // XENIA_KERNEL_XEX2_INFO_H_
|
||||
|
||||
Reference in New Issue
Block a user