mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 12:56:11 +00:00
Fixed disasm context menu actions
This commit is contained in:
parent
7e7c6aad85
commit
00f3c1baee
@ -505,7 +505,12 @@ void MemoryWidget::refreshDisasm(const QString &offset)
|
||||
QString ele = elements[0];
|
||||
if (ele.contains("0x"))
|
||||
{
|
||||
this->main->core->cmd("s " + ele);
|
||||
QString fcn = this->main->core->cmdFunctionAt(ele);
|
||||
if (fcn != "") {
|
||||
this->main->core->cmd("s " + fcn);
|
||||
} else {
|
||||
this->main->core->cmd("s " + ele);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user