preparing to add VTIL->lift specific block...

merge-requests/2/head
_xeroxz 4 years ago
parent 2a9b731d3c
commit 77b3e87b38

@ -101,11 +101,17 @@ void qvminspector_t::on_lift_block()
++code_block_num )
{
auto new_button = new QPushButton();
new_button->setText( QString( "block_%1" ).arg( code_block->vip_begin, 0u, 16 ) );
new_button->setText(
QString( "block_%1" )
.arg( ABS_TO_IMG( code_block->vip_begin, file_header->module_base, file_header->image_base ), 0u,
16 ) );
new_button->setProperty(
"addr", ABS_TO_IMG( code_block->vip_begin, file_header->module_base, file_header->image_base ) );
layout->addWidget( new_button );
}
lift_block_select->setBaseSize( { 200, 100 } );
lift_block_select->setWindowTitle( "Select A Block" );
lift_block_select->setLayout( layout );
lift_block_select->exec();

Loading…
Cancel
Save