From 12659a7e2227a2277b0ca62f7866921a70f7ea4d Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 20 Jan 2022 18:02:35 -0500 Subject: Async IL fetching in stack, variables, and xref views --- ui/stackview.h | 3 +++ ui/variablelist.h | 1 + 2 files changed, 4 insertions(+) (limited to 'ui') diff --git a/ui/stackview.h b/ui/stackview.h index 311fa37d..34e83950 100644 --- a/ui/stackview.h +++ b/ui/stackview.h @@ -10,6 +10,8 @@ #include "sidebar.h" #include "uitypes.h" +#define STACK_VIEW_UPDATE_CHECK_INTERVAL 200 + //! Dialog to enable arbitrary stack variable creation. class BINARYNINJAUIAPI CreateStackVariableDialog : public QDialog { @@ -160,6 +162,7 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View ViewFrame* m_view; BinaryViewRef m_data; FunctionRef m_func; + BinaryNinja::AdvancedFunctionAnalysisDataRequestor m_analysisRequestor; RenderContext m_renderer; std::vector m_lines; diff --git a/ui/variablelist.h b/ui/variablelist.h index d896beb2..cc1e1de5 100644 --- a/ui/variablelist.h +++ b/ui/variablelist.h @@ -83,6 +83,7 @@ class BINARYNINJAUIAPI VariableListModel : public QAbstractListModel ViewFrame* m_view; BinaryViewRef m_data; FunctionRef m_func; + BinaryNinja::AdvancedFunctionAnalysisDataRequestor m_analysisRequestor; std::vector m_items; QItemSelectionModel* m_selModel; -- cgit v1.3.1