mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
fixed compile error
This commit is contained in:
parent
1232d41068
commit
2d0238aeb0
@ -1381,7 +1381,7 @@ void MemoryWidget::setFcnName(QString addr) {
|
|||||||
// TDOD: FIX ME, ugly
|
// TDOD: FIX ME, ugly
|
||||||
if (addr.contains("0x")) {
|
if (addr.contains("0x")) {
|
||||||
fcn = this->main->core->functionAt(addr.toULongLong(&ok, 16));
|
fcn = this->main->core->functionAt(addr.toULongLong(&ok, 16));
|
||||||
if (ok && fcn && *fcn) {
|
if (ok && fcn) {
|
||||||
QString segment = this->main->core->cmd("S. @ " + addr).split(" ").last();
|
QString segment = this->main->core->cmd("S. @ " + addr).split(" ").last();
|
||||||
addr = segment.trimmed() + ":"+ fcn->name;
|
addr = segment.trimmed() + ":"+ fcn->name;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user