Update README.md

merge-requests/11/merge
_xeroxz 3 years ago
parent db85c4cd0f
commit a818b3e9bc

@ -38,6 +38,12 @@ const auto vm_entry_rva = std::strtoull( parser.get< std::string >( "vmentry" ).
const auto image_base = umtils->image_base( parser.get< std::string >( "bin" ).c_str() );
const auto image_size = NT_HEADER( module_base )->OptionalHeader.SizeOfImage;
vm::ctx_t vmctx( module_base, image_base, image_size, vm_entry_rva );
if ( !vmctx.init() )
{
std::printf( "[!] failed to init vm::ctx_t... make sure all cli arguments are correct!\n" );
return -1;
}
```
***Figure 1. Taken from VMProfiler CLI Project***
Loading…
Cancel
Save