| 894 | } |
| 895 | |
| 896 | void MemoryView::contextGoToAddress() |
| 897 | { |
| 898 | const QString title = tr("Go To In Memory View"); |
| 899 | |
| 900 | AsyncDialogs::getText(this, title, "", "", [this](QString expression) { |
| 901 | u64 address = 0; |
| 902 | std::string error; |
| 903 | if (!cpu().evaluateExpression(expression.toStdString().c_str(), address, error)) |
| 904 | { |
| 905 | AsyncDialogs::warning(this, tr("Cannot Go To"), QString::fromStdString(error)); |
| 906 | return; |
| 907 | } |
| 908 | |
| 909 | gotoAddress(static_cast<u32>(address)); |
| 910 | }); |
| 911 | } |
| 912 | |
| 913 | void MemoryView::contextFollowAddress() |
| 914 | { |
nothing calls this directly
no test coverage detected