From 2a608956279a2bc37c762f3f2b5e20ee38b1f43c Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Tue, 8 Dec 2020 00:27:38 -0500 Subject: Add some synchronization modes to reflection view along with a context menu. --- ui/reflectionview.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 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; -- cgit v1.3.1