Skip to content

Commit 637c830

Browse files
committed
Fix CModule::GetVirtualTableByName error
1 parent dd16481 commit 637c830

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/module_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ CMemory CModule::GetVirtualTableByName(const std::string_view svTableName, bool
159159
const uintptr_t rttiTDRva = rttiTypeDescriptor - GetBase(); // The RTTI gets referenced by a 4-Byte RVA address. We need to scan for that address.
160160

161161
CMemory reference;
162-
while ((reference = FindPattern(&rttiTDRva, "xxxx", reference, pReadOnlyData))) // Get reference typeinfo in vtable
162+
while ((reference = FindPattern(rttiTDRva, "xxxx", reference, pReadOnlyData))) // Get reference typeinfo in vtable
163163
{
164164
// Check if we got a RTTI Object Locator for this reference by checking if -0xC is 1, which is the 'signature' field which is always 1 on x64.
165165
// Check that offset of this vtable is 0

0 commit comments

Comments
 (0)