summaryrefslogtreecommitdiff
path: root/ui/symbollist.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2026-01-26 14:23:12 -0500
committerJosh Ferrell <josh@vector35.com>2026-02-06 17:53:45 -0500
commit70bbb18a9444824a8ec2b9a7ff57fc848e017b6e (patch)
treefe87c0976b75a7557986d1ac6bcc2409a839624c /ui/symbollist.h
parent9b7604d13e8bd98c6998facb9326926ed96281b5 (diff)
Add regex and case sensitivity options to FilterEdit
Diffstat (limited to 'ui/symbollist.h')
-rw-r--r--ui/symbollist.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/symbollist.h b/ui/symbollist.h
index 1bc4a6dd..6f196ddf 100644
--- a/ui/symbollist.h
+++ b/ui/symbollist.h
@@ -229,6 +229,7 @@ class BINARYNINJAUIAPI SymbolListModel : public QAbstractItemModel, public Binar
std::unique_ptr<std::deque<NamedObject>> m_oldCurSyms;
NamedObject m_currentSym;
std::string m_filter;
+ FilterOptions m_filterOptions;
int m_maxWidth = 32;
std::mutex m_updateMutex;
@@ -290,7 +291,7 @@ class BINARYNINJAUIAPI SymbolListModel : public QAbstractItemModel, public Binar
bool hasSymbols() const;
int getMaximumWidth() const { return m_maxWidth; }
- void setFilter(const std::string& filter);
+ void setFilter(const std::string& filter, FilterOptions options);
void showExportedDataVars(bool show) { m_showExportedDataVars = show; }
void showExportedFunctions(bool show) { m_showExportedFunctions = show; }
void showLocalFunctions(bool show) { m_showLocalFunctions = show; }
@@ -348,6 +349,7 @@ class BINARYNINJAUIAPI SymbolList : public QListView, public FilterTarget
bool m_showLocalDataVars;
bool m_showImports;
std::string m_filter;
+ FilterOptions m_filterOptions;
SymbolListModel::NamedObject m_index;
SymbolListModel::NamedObject m_topIndex;
@@ -361,7 +363,7 @@ class BINARYNINJAUIAPI SymbolList : public QListView, public FilterTarget
virtual void scrollToCurrentItem() override;
virtual void ensureSelection() override;
virtual void activateSelection() override;
- virtual void setFilter(const std::string& filter) override;
+ virtual void setFilter(const std::string& filter, FilterOptions options) override;
bool hasSymbols();