From 41fbac37456f91b8085ceb0726ab7f9799a55b17 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 16 Apr 2020 03:05:50 -0400 Subject: Add support for forcing navigation to HLIL --- ui/linearview.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ui/linearview.h') diff --git a/ui/linearview.h b/ui/linearview.h index 0c76fe83..192ba178 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -132,6 +132,8 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ std::map m_analysisRequestors; + std::string m_navigationMode = ""; + void adjustSize(int width, int height); void setTopToAddress(uint64_t addr); @@ -257,6 +259,10 @@ public: virtual ArchitectureRef getCurrentArchitecture() override; virtual bool navigate(uint64_t pos) override; + virtual std::string getNavigationMode() override; + virtual void setNavigationMode(std::string mode) override; + virtual std::vector getNavigationModes() override; + virtual HistoryEntry* getHistoryEntry() override; virtual void navigateToHistoryEntry(HistoryEntry* entry) override; -- cgit v1.3.1