updated vmprofiler dep, added a new field to a structure...

merge-requests/9/head
_xeroxz 3 years ago
parent 7f6e88a77f
commit 094eb13855

@ -1 +1 @@
Subproject commit 05c98b1ef57c3375ffd455221a3be1be6110d4eb
Subproject commit 7918578b9ea89ac18eba1fe120679c0978612894

@ -282,7 +282,7 @@ int __cdecl main( int argc, const char *argv[] )
output.write( reinterpret_cast< const char * >( &file_header ), sizeof file_header );
output.write( reinterpret_cast< const char * >( module_base ), image_size );
for ( auto [ vm_enter_offset, virt_rtn ] : virt_rtns )
for ( auto& [ vm_enter_offset, virt_rtn ] : virt_rtns )
{
vmp2::v4::rtn_t rtn{ virt_rtn.size() };
std::vector< vmp2::v4::code_block_t * > vmp2_blocks;

@ -479,6 +479,7 @@ namespace vm
obj->vip_begins.push_back( obj->cc_block->code_block.vip_begin );
}
vinstr.value().trace_data.vm_handler_rva = ( vm_handler_addr - obj->g_vm_ctx->module_base );
obj->cc_block->code_block.vinstrs.push_back( vinstr.value() );
if ( vm_handler.profile )

Loading…
Cancel
Save