updated deps, also made vtil lifting work even if all handlers/profiles

arent defined...
merge-requests/3/head
_xeroxz 4 years ago
parent 81b0a2a1c1
commit bde03ac313

@ -1 +1 @@
Subproject commit 87acc2837b696d37a85663277be3a0ff726d4c31 Subproject commit e75104fbb3b07540be51fcef169e9eaffd1cfee2

@ -212,14 +212,10 @@ int __cdecl main( int argc, const char *argv[] )
auto vinstr = &code_block->vinstr[ idx ]; auto vinstr = &code_block->vinstr[ idx ];
if ( vinstr->mnemonic_t == vm::handler::INVALID ) if ( vinstr->mnemonic_t == vm::handler::INVALID )
{ {
std::printf( std::printf( "[WARNING] vm handler #%d is not implimented, the VTIL output may be incorrect!\n",
"> unable to lift to VTIL... unknown virtual instruction handler #%d... "
"please define a vm handler profile for this virtual instruction and try again..."
" you can also create your first contribution to this open source project by submitting"
" a merge request with your changes! :)\n",
vinstr->opcode ); vinstr->opcode );
rtn->nop();
return -1; continue;
} }
const auto result = std::find_if( const auto result = std::find_if(
@ -229,17 +225,15 @@ int __cdecl main( int argc, const char *argv[] )
if ( result == vm::lifters::all.end() ) if ( result == vm::lifters::all.end() )
{ {
std::printf( std::printf(
"> unable to lift to VTIL... unknown virtual instruction handler lifter for #%d... " "[WARNING] vm handler #%d lifter is not implimented, the VTIL output may be incorrect!\n",
"please define a vm handler lifter for this vm handler and try again..."
" you can also create your first contribution to this open source project by submitting"
" a merge request with your changes! :)\n",
vinstr->opcode ); vinstr->opcode );
return -1; rtn->nop();
continue;
} }
// lift the virtual instruction... // lift the virtual instruction...
( *result )->second( rtn, vinstr ); ( *result )->second( rtn, vinstr, code_block );
} }
} }

Loading…
Cancel
Save