Add aab and hasnext in advanced analysis (#137) (#139)

This commit is contained in:
Alexandre L 2017-12-04 22:36:02 +01:00 committed by xarkes
parent 7c2bd975f9
commit 6c6f743f97
2 changed files with 22 additions and 0 deletions

View File

@ -171,6 +171,10 @@ void OptionsDialog::on_okButton_clicked()
{ {
advanced << "aac"; advanced << "aac";
} }
if (ui->aab_basicblocks->isChecked())
{
advanced << "aab";
}
if (ui->aan_rename->isChecked()) if (ui->aan_rename->isChecked())
{ {
advanced << "aan"; advanced << "aan";
@ -203,6 +207,10 @@ void OptionsDialog::on_okButton_clicked()
{ {
advanced << "e! anal.pushret"; advanced << "e! anal.pushret";
} }
if (ui->hasnext->isChecked())
{
advanced << "e! anal.hasnext";
}
} }
setupAndStartAnalysis(ui->analSlider->value(), advanced); setupAndStartAnalysis(ui->analSlider->value(), advanced);

View File

@ -296,6 +296,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QCheckBox" name="aab_basicblocks">
<property name="text">
<string>Analyze all basic blocks (aab)</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QCheckBox" name="aan_rename"> <widget class="QCheckBox" name="aan_rename">
<property name="text"> <property name="text">
@ -362,6 +369,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QCheckBox" name="hasnext">
<property name="text">
<string>Continue analysis after each function (e! anal.hasnext)</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>