Save the address of memory allocated on the plugin heap

This commit is contained in:
Maschell
2020-05-03 12:23:50 +02:00
parent f31da6e1e5
commit fae8be334f
4 changed files with 16 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ public:
uint8_t getTrampolinId() const {
return trampolinId;
}
private:
std::vector<HookData> hook_data_list;
@@ -90,6 +91,9 @@ private:
uint8_t trampolinId = 0;
void* allocatedTextMemoryAddress = 0;
void* allocatedDataMemoryAddress = 0;
friend class PluginInformationFactory;
friend class PluginInformationPersistence;
friend class PluginContainerPersistence;
};