added inverse transform code for virt instr rva

merge-requests/2/head
_xeroxz 4 years ago
parent 5fb67d3dcf
commit e266d0fa8c

@ -1 +1 @@
Subproject commit 11d60b144047eb8aa5ba4d1bbd029bdd95907662
Subproject commit 317dc4673bb790c2dccb4d1b4d4dcbbf76b05a3c

@ -116,6 +116,18 @@ int __cdecl main( int argc, const char *argv[] )
}
std::printf( "> virtual instruction rva decryption instructions:\n" );
for ( auto &transform : vinstr_rva_decrypt_instrs )
{
std::printf( "\t" );
vm::util::print( transform );
}
std::printf( "> virtual instruction rva encryption instructions:\n" );
if (!vm::transform::inverse_transforms(vinstr_rva_decrypt_instrs))
{
std::printf( "> failed to inverse rva encryption instructions...\n" );
return -1;
}
for ( auto &transform : vinstr_rva_decrypt_instrs )
{
std::printf( "\t" );
@ -130,6 +142,8 @@ int __cdecl main( int argc, const char *argv[] )
return -1;
}
if ( parser.exists( "showhandlers" ) )
{
for ( auto idx = 0u; idx < vm_handlers.size(); ++idx )

Loading…
Cancel
Save