From 68a9e96c98dbed4e4154a13ffec7b9c94876661a Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 27 Apr 2020 23:14:44 -0400 Subject: Add names for goto labels --- ui/flowgraphwidget.h | 1 + ui/linearview.h | 1 + ui/theme.h | 1 + 3 files changed, 3 insertions(+) (limited to 'ui') diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index dc358871..e90bcdc5 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -155,6 +155,7 @@ protected: void bindActions(); void navigateToAddress(uint64_t addr); + void navigateToGotoLabel(uint64_t label); void setGraphInternal(FlowGraphRef graph, FlowGraphHistoryEntry* entry, bool useAddr, uint64_t addr, bool notify, bool recenterWithPreviousGraph); diff --git a/ui/linearview.h b/ui/linearview.h index 46addd4f..2c9c5fcc 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -144,6 +144,7 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ void updateCache(); void refreshAtCurrentLocation(); bool navigateToAddress(uint64_t addr, bool center, bool updateHighlight, bool navByRef = false); + bool navigateToGotoLabel(uint64_t label); void scrollLines(int count); diff --git a/ui/theme.h b/ui/theme.h index 462e38ed..0199b060 100644 --- a/ui/theme.h +++ b/ui/theme.h @@ -69,6 +69,7 @@ enum ThemeColor UncertainColor, NameSpaceColor, NameSpaceSeparatorColor, + GotoLabelColor, // Script console colors ScriptConsoleOutputColor, -- cgit v1.3.1