Support for WUMS 0.3.1

This commit is contained in:
Maschell
2022-01-23 22:07:38 +01:00
parent 7f76c9f8c8
commit 9f7912cb60
8 changed files with 37 additions and 26 deletions

View File

@@ -148,22 +148,22 @@ public:
return this->export_name;
}
[[nodiscard]] bool isSkipEntrypoint() const {
return this->skipEntrypoint;
}
[[nodiscard]] bool isInitBeforeRelocationDoneHook() const {
return this->initBeforeRelocationDoneHook;
}
void setSkipEntrypoint(bool value) {
this->skipEntrypoint = value;
}
void setInitBeforeRelocationDoneHook(bool value) {
this->initBeforeRelocationDoneHook = value;
}
[[nodiscard]] bool isSkipInitFini() const {
return this->skipInitFini;
}
void setSkipInitFini(bool value) {
this->skipInitFini = value;
}
bool relocationsDone = false;
private:
std::vector<std::shared_ptr<RelocationData>> relocation_data_list;
@@ -181,6 +181,6 @@ private:
uint32_t startAddress = 0;
uint32_t endAddress = 0;
uint32_t entrypoint = 0;
bool skipEntrypoint = false;
bool initBeforeRelocationDoneHook = false;
bool skipInitFini = false;
};