summaryrefslogtreecommitdiff
path: root/examples/triage/byte.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/triage/byte.cpp')
-rw-r--r--examples/triage/byte.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/triage/byte.cpp b/examples/triage/byte.cpp
index 9fdb80be..58835ed7 100644
--- a/examples/triage/byte.cpp
+++ b/examples/triage/byte.cpp
@@ -158,6 +158,12 @@ BNAddressRange ByteView::getSelectionOffsets()
return { start, end };
}
+void ByteView::setSelectionOffsets(BNAddressRange range)
+{
+ navigate(range.start);
+ m_selectionStartAddr = range.start;
+ m_cursorAddr = range.end;
+}
void ByteView::updateRanges()
{