From 044e966d23f4113f77d96590fcf4b430b5088927 Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Sun, 8 Aug 2021 01:44:06 -0700 Subject: [PATCH] there is a bug in vmemu where it will trace the same block 2 times... need to fix... causing issues with lifting... --- dependencies/vmprofiler | 2 +- src/vmemu_t.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies/vmprofiler b/dependencies/vmprofiler index 16aeb2d..1f5fe9c 160000 --- a/dependencies/vmprofiler +++ b/dependencies/vmprofiler @@ -1 +1 @@ -Subproject commit 16aeb2d6d48c4822b89497ad660911eb0f5e54bd +Subproject commit 1f5fe9cd7b16ad2edd17ee8e13c672b3feeb9c08 diff --git a/src/vmemu_t.cpp b/src/vmemu_t.cpp index 3c08f99..cba41ac 100644 --- a/src/vmemu_t.cpp +++ b/src/vmemu_t.cpp @@ -214,7 +214,7 @@ namespace vm for ( auto &[ code_block, cpu_ctx, vm_ctx ] : code_blocks ) { - code_block.vip_begin = ( code_block.vip_begin - g_vm_ctx->module_base ) + g_vm_ctx->image_base; + // code_block.vip_begin = ( code_block.vip_begin - g_vm_ctx->module_base ) + g_vm_ctx->image_base; entries.push_back( code_block ); }