diff options
| author | Brian Potchik <brian@vector35.com> | 2020-12-08 00:27:38 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-12-08 00:27:38 -0500 |
| commit | 2a608956279a2bc37c762f3f2b5e20ee38b1f43c (patch) | |
| tree | debfae4a589e4aacf15875d3d3ba2fc3b1fc86b2 | |
| parent | eb2841dda83b6eb5bea0b70ada039b7e2a69d622 (diff) | |
Add some synchronization modes to reflection view along with a context menu.
| -rw-r--r-- | ui/reflectionview.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/reflectionview.h b/ui/reflectionview.h index a4816253..4b1f27a0 100644 --- a/ui/reflectionview.h +++ b/ui/reflectionview.h @@ -21,11 +21,17 @@ class BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler ViewFrame* m_frame; BinaryViewRef m_data; DisassemblyContainer* m_disassemblyContainer; + std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; + bool m_ilSync; + bool m_locationSync; public: ReflectionView(ViewFrame* frame, BinaryViewRef data); ~ReflectionView(); + void toggleILSync(); + void toggleLocationSync(); + virtual void notifyViewLocationChanged(View* view, const ViewLocation& viewLocation) override; virtual void notifyVisibilityChanged(bool visible) override; virtual bool shouldBeVisible(ViewFrame* frame) override; |
