diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-08-22 12:55:49 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-21 13:56:55 -0400 |
| commit | d8e3001e535fad178c621ff07418f81f25123dc4 (patch) | |
| tree | 54c03cef2f0bdfd9a3b6df4334c81becb63e4993 /ui/variablelist.h | |
| parent | 0e281a30d73c0f31ef9442fef0346779164231ad (diff) | |
Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin
Diffstat (limited to 'ui/variablelist.h')
| -rw-r--r-- | ui/variablelist.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/variablelist.h b/ui/variablelist.h index 2b7ed8e7..e10d40eb 100644 --- a/ui/variablelist.h +++ b/ui/variablelist.h @@ -101,7 +101,7 @@ class BINARYNINJAUIAPI VariableListModel : public QAbstractListModel ViewFrame* m_view; BinaryViewRef m_data; FunctionRef m_func; - BNFunctionGraphType m_funcType; + BinaryNinja::FunctionViewType m_funcType; bool m_funcExceedsComplexity = false; BinaryNinja::AdvancedFunctionAnalysisDataRequestor m_analysisRequestor; std::vector<VariableListItem> m_items; @@ -123,13 +123,13 @@ class BINARYNINJAUIAPI VariableListModel : public QAbstractListModel FunctionRef function() const; //! Get the current function type. - BNFunctionGraphType functionType() const; + const BinaryNinja::FunctionViewType& functionType() const; //! Whether or not the function exceeds the set complexity threshold bool functionExceedsComplexity() const { return m_funcExceedsComplexity; } //! Set the focused function and update the content of the list. - void setFunction(FunctionRef func, BNFunctionGraphType il, const HighlightTokenState& hts); + void setFunction(FunctionRef func, const BinaryNinja::FunctionViewType& il, const HighlightTokenState& hts); //! Set the selection model, should correspond to the parent widget's. void setSelectionModel(QItemSelectionModel* model); |
