updated to the newest vmprofiler...

merge-requests/6/head
_xeroxz 3 years ago
parent eb74df5c0f
commit c55357a6b9

@ -1 +1 @@
Subproject commit be144629075d10eceebbea30361d1b6c96512c01 Subproject commit 1afc55ca84856cf651ba5e5068fad482dda82745

@ -192,7 +192,7 @@ int __cdecl main( int argc, const char *argv[] )
if ( file_header->version != vmp2::version_t::v4 ) 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; return -1;
} }
@ -205,7 +205,8 @@ int __cdecl main( int argc, const char *argv[] )
++rtn_idx, rtn_block = reinterpret_cast< vmp2::v4::rtn_t * >( ++rtn_idx, rtn_block = reinterpret_cast< vmp2::v4::rtn_t * >(
reinterpret_cast< std::uintptr_t >( rtn_block ) + rtn_block->size ) ) 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 ); rtn_block->code_block_count );
for ( auto [ code_block, block_idx ] = std::pair{ &rtn_block->code_blocks[ 0 ], 0ull }; for ( auto [ code_block, block_idx ] = std::pair{ &rtn_block->code_blocks[ 0 ], 0ull };

Loading…
Cancel
Save