updated vmprofiler and fixed a bug with instruction fetchs...

merge-requests/5/merge
_xeroxz 3 years ago
parent 8313ab5a0c
commit 5431e59882

@ -1 +1 @@
Subproject commit c8ff24a8b44466dd2a9e2e342c83774b61004eb5
Subproject commit 1fad85707785843ec96b7d052a601aad69b47213

@ -89,6 +89,9 @@ namespace vm
{
std::printf( "failed on uc_emu_start() with error returned %u: %s\n", err, uc_strerror( err ) );
for ( auto &[ code_block, uc_code_block_context ] : code_blocks )
entries.push_back( code_block );
return false;
}
@ -141,10 +144,8 @@ namespace vm
if ( ( err = uc_emu_start( uc, rip, NULL, NULL, NULL ) ) )
{
std::printf( "failed on uc_emu_start() with error returned %u: %s\n", err, uc_strerror( err ) );
return false;
}
return true;
};

Loading…
Cancel
Save