diff options
| author | Brandon Miller <brandon@vector35.com> | 2024-04-18 16:09:30 -0400 |
|---|---|---|
| committer | Brandon Miller <bkmiller89@icloud.com> | 2024-04-25 10:56:18 -0400 |
| commit | 6d2f7cd7f26f1d80cd0f591e1901d7cb40e8979b (patch) | |
| tree | 839d880894488d5da9b500bca5ffeb35b728c31f /examples/triage | |
| parent | f3e890aa9333d11c27f235c47490b535e535607b (diff) | |
Base detection rebase navigation improvement
Now is able to correctly navigate from raw triage summary to mapped
linear view when starting analysis from the identified base address
Diffstat (limited to 'examples/triage')
| -rw-r--r-- | examples/triage/baseaddress.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/examples/triage/baseaddress.cpp b/examples/triage/baseaddress.cpp index a20a4755..e50510a8 100644 --- a/examples/triage/baseaddress.cpp +++ b/examples/triage/baseaddress.cpp @@ -288,12 +288,21 @@ void BaseAddressDetectionWidget::RebaseWithFullAnalysis() uiContext->recreateViewFrames(fileContext); fileContext->refreshDataViewCache(); - auto view = frame->getCurrentViewInterface(); + + auto newFrame = ViewFrame::viewFrameForWidget(this); + if (!newFrame) + return; + + auto view = newFrame->getCurrentViewInterface(); if (!view) return; + auto data = view->getData(); + if (!data) + return; + if (!view->navigate(address)) - m_view->Navigate(string("Linear:" + frame->getCurrentDataType().toStdString()), address); + data->Navigate("Linear:Mapped", address); } |
