From c55357a6b9147e71967c87adad9690d369245d1f Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Thu, 19 Aug 2021 19:33:23 -0700 Subject: [PATCH] updated to the newest vmprofiler... --- dependencies/vmprofiler | 2 +- src/main.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dependencies/vmprofiler b/dependencies/vmprofiler index be14462..1afc55c 160000 --- a/dependencies/vmprofiler +++ b/dependencies/vmprofiler @@ -1 +1 @@ -Subproject commit be144629075d10eceebbea30361d1b6c96512c01 +Subproject commit 1afc55ca84856cf651ba5e5068fad482dda82745 diff --git a/src/main.cpp b/src/main.cpp index 842489c..91eeb0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -192,7 +192,7 @@ int __cdecl main( int argc, const char *argv[] ) if ( file_header->version != vmp2::version_t::v4 ) { - std::printf( "[!] invalid vmp2 file version... this build uses v3...\n" ); + std::printf( "[!] invalid vmp2 file version... this build uses v4...\n" ); return -1; } @@ -205,7 +205,8 @@ int __cdecl main( int argc, const char *argv[] ) ++rtn_idx, rtn_block = reinterpret_cast< vmp2::v4::rtn_t * >( reinterpret_cast< std::uintptr_t >( rtn_block ) + rtn_block->size ) ) { - std::printf( "[rtn_0x%p] number of code blocks = %d\n", rtn_block->code_blocks[ 0 ].vip_begin, + std::printf( "[rtn_0x%p (vm enter rva = 0x%x)] number of code blocks = %d\n", + rtn_block->code_blocks[ 0 ].vip_begin, rtn_block->vm_enter_offset, rtn_block->code_block_count ); for ( auto [ code_block, block_idx ] = std::pair{ &rtn_block->code_blocks[ 0 ], 0ull };