From bffee68c55a4f23566e5200d2db4f9a102b2c87a Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 1 Oct 2019 23:41:40 +0200 Subject: DLLHelper supports setting preferred virtual address for virtual memory allocation --- include/DLLHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/DLLHelper.h b/include/DLLHelper.h index 749e541..2481448 100644 --- a/include/DLLHelper.h +++ b/include/DLLHelper.h @@ -68,7 +68,7 @@ public: bool Init(HANDLE targetPID, const char * const fullDllPath); bool VerifyHeader(); - bool InitTargetMemory(); + bool InitTargetMemory(UINT64 preferredVirtualAddress = 0x0); bool HasImports() { return m_NTHeader && m_NTHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].Size; -- cgit v1.2.3