Extend the wupsbackend api to provide some extra functions to query plugin information

This commit is contained in:
Maschell
2023-02-17 17:30:28 +01:00
parent 08c0d62c8a
commit d8a906f1db
3 changed files with 94 additions and 2 deletions

View File

@@ -116,6 +116,14 @@ public:
return {};
}
void *getTextMemoryAddress() {
return allocatedTextMemoryAddress.get();
}
void *getDataMemoryAddress() {
return allocatedDataMemoryAddress.get();
}
private:
std::vector<std::unique_ptr<HookData>> hook_data_list;
std::vector<std::unique_ptr<FunctionData>> function_data_list;