Add Support for WUMS_MODULE_SKIP_WUT_INIT macro

This commit is contained in:
Maschell
2021-02-19 17:01:11 +01:00
parent 5f9e2f8725
commit 07adc02d53
6 changed files with 36 additions and 9 deletions

View File

@@ -140,6 +140,10 @@ public:
return this->initBeforeRelocationDoneHook;
}
[[nodiscard]] bool isSkipWUTInit() const {
return this->skipWUTInit;
}
void setSkipEntrypoint(bool value) {
this->skipEntrypoint = value;
}
@@ -147,6 +151,10 @@ public:
this->initBeforeRelocationDoneHook = value;
}
void setSkipWUTInit(bool value) {
this->skipWUTInit = value;
}
bool relocationsDone = false;
private:
std::vector<RelocationData> relocation_data_list;
@@ -165,4 +173,5 @@ private:
uint32_t entrypoint = 0;
bool skipEntrypoint = false;
bool initBeforeRelocationDoneHook = false;
bool skipWUTInit = false;
};