mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Fixes #94. Hexdump navigation
This commit is contained in:
parent
61d0c5172d
commit
fb1437e4c1
@ -563,7 +563,7 @@ void MemoryWidget::refreshHexdump(QString where)
|
|||||||
this->main->core->cmd("ss " + where);
|
this->main->core->cmd("ss " + where);
|
||||||
}
|
}
|
||||||
// Add first the hexdump at block size --
|
// Add first the hexdump at block size --
|
||||||
this->main->core->cmd("ss -" + this->main->core->itoa(hexdumpLength));
|
this->main->core->cmd("ss-" + this->main->core->itoa(hexdumpLength));
|
||||||
//s = this->normalize_addr(this->main->core->cmd("s"));
|
//s = this->normalize_addr(this->main->core->cmd("s"));
|
||||||
QList<QString> ret = this->get_hexdump("");
|
QList<QString> ret = this->get_hexdump("");
|
||||||
|
|
||||||
@ -574,7 +574,7 @@ void MemoryWidget::refreshHexdump(QString where)
|
|||||||
this->resizeHexdump();
|
this->resizeHexdump();
|
||||||
|
|
||||||
// Add then the hexdump at block size ++
|
// Add then the hexdump at block size ++
|
||||||
this->main->core->cmd("ss +" + this->main->core->itoa(hexdumpLength));
|
this->main->core->cmd("ss+" + this->main->core->itoa(hexdumpLength));
|
||||||
// Get address to move cursor to later
|
// Get address to move cursor to later
|
||||||
//QString s = "0x0" + this->main->core->cmd("s").split("0x")[1].trimmed();
|
//QString s = "0x0" + this->main->core->cmd("s").split("0x")[1].trimmed();
|
||||||
s = this->normalize_addr(this->main->core->cmd("s"));
|
s = this->normalize_addr(this->main->core->cmd("s"));
|
||||||
|
Loading…
Reference in New Issue
Block a user