mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-22 06:33:46 +00:00
Fix -B default value
This commit is contained in:
parent
923a7e888c
commit
73d395c2be
@ -47,7 +47,9 @@ void AnalThread::run()
|
|||||||
const auto optionsDialog = dynamic_cast<OptionsDialog *>(parent());
|
const auto optionsDialog = dynamic_cast<OptionsDialog *>(parent());
|
||||||
const auto &ui = optionsDialog->ui;
|
const auto &ui = optionsDialog->ui;
|
||||||
bool va = ui->vaCheckBox->isChecked();
|
bool va = ui->vaCheckBox->isChecked();
|
||||||
ut64 binLoadAddr = Core()->math(ui->entry_loadOffset->text()); // Where the bin header is located in the file (-B)
|
ut64 binLoadAddr = UT64_MAX; // Where the bin header is located in the file (-B)
|
||||||
|
if (ui->entry_loadOffset->text().length() > 0)
|
||||||
|
binLoadAddr = Core()->math(ui->entry_loadOffset->text());
|
||||||
ut64 mapAddr = Core()->math(ui->entry_mapOffset->text()); // Where to map the file once loaded (-m)
|
ut64 mapAddr = Core()->math(ui->entry_mapOffset->text()); // Where to map the file once loaded (-m)
|
||||||
interrupted = false;
|
interrupted = false;
|
||||||
emit updateProgress(tr("Loading binary..."));
|
emit updateProgress(tr("Loading binary..."));
|
||||||
|
Loading…
Reference in New Issue
Block a user