Converting addresses in xe::cpu to 32bit.
This commit is contained in:
@@ -22,8 +22,8 @@ namespace cpu {
|
||||
class Runtime;
|
||||
|
||||
class XexModule : public xe::cpu::Module {
|
||||
public:
|
||||
XexModule(Runtime* runtime);
|
||||
public:
|
||||
XexModule(Runtime* runtime);
|
||||
virtual ~XexModule();
|
||||
|
||||
xe_xex2_ref xex() const { return xex_; }
|
||||
@@ -32,22 +32,22 @@ public:
|
||||
|
||||
const std::string& name() const override { return name_; }
|
||||
|
||||
bool ContainsAddress(uint64_t address) override;
|
||||
bool ContainsAddress(uint32_t address) override;
|
||||
|
||||
private:
|
||||
private:
|
||||
int SetupImports(xe_xex2_ref xex);
|
||||
int SetupLibraryImports(const xe_xex2_import_library_t* library);
|
||||
int FindSaveRest();
|
||||
|
||||
private:
|
||||
Runtime* runtime_;
|
||||
std::string name_;
|
||||
std::string path_;
|
||||
xe_xex2_ref xex_;
|
||||
private:
|
||||
Runtime* runtime_;
|
||||
std::string name_;
|
||||
std::string path_;
|
||||
xe_xex2_ref xex_;
|
||||
|
||||
uint64_t base_address_;
|
||||
uint64_t low_address_;
|
||||
uint64_t high_address_;
|
||||
uint32_t base_address_;
|
||||
uint32_t low_address_;
|
||||
uint32_t high_address_;
|
||||
};
|
||||
|
||||
} // namespace cpu
|
||||
|
||||
Reference in New Issue
Block a user