Implementation of InitBeforeRelocationDoneHook and SkipEntrypoint module options

This commit is contained in:
Maschell
2020-12-26 16:01:46 +01:00
parent 6e352b0085
commit 98c8de7479
5 changed files with 38 additions and 23 deletions

View File

@@ -132,12 +132,19 @@ public:
return this->export_name;
}
bool isInitBeforeEntrypoint() const {
return this->initBeforeEntrypoint;
bool isSkipEntrypoint() const {
return this->skipEntrypoint;
}
void setInitBeforeEntrypoint(bool value) {
this->initBeforeEntrypoint = value;
bool isInitBeforeRelocationDoneHook() const {
return this->initBeforeRelocationDoneHook;
}
void setSkipEntrypoint(bool value) {
this->skipEntrypoint = value;
}
void setInitBeforeRelocationDoneHook(bool value) {
this->initBeforeRelocationDoneHook = value;
}
private:
@@ -155,5 +162,6 @@ private:
uint32_t startAddress = 0;
uint32_t endAddress = 0;
uint32_t entrypoint = 0;
bool initBeforeEntrypoint = false;
bool skipEntrypoint = false;
bool initBeforeRelocationDoneHook = false;
};