diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-04-16 03:05:50 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-04-17 14:20:42 -0400 |
| commit | 41fbac37456f91b8085ceb0726ab7f9799a55b17 (patch) | |
| tree | 9886b3cc3706cbd902aa0d431492177d5ae50c13 | |
| parent | efa3a367885c9510bb6280788241dae6f48a42bb (diff) | |
Add support for forcing navigation to HLIL
| -rw-r--r-- | ui/disassemblyview.h | 1 | ||||
| -rw-r--r-- | ui/linearview.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ui/disassemblyview.h b/ui/disassemblyview.h index 99b88a2f..a0d3b00b 100644 --- a/ui/disassemblyview.h +++ b/ui/disassemblyview.h @@ -94,6 +94,7 @@ private: private Q_SLOTS: void viewInHexEditor(); void viewInLinearDisassembly(); + void viewInDecompiler(); }; 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<FunctionRef, BinaryNinja::AdvancedFunctionAnalysisDataRequestor> 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<std::string> getNavigationModes() override; + virtual HistoryEntry* getHistoryEntry() override; virtual void navigateToHistoryEntry(HistoryEntry* entry) override; |
