summaryrefslogtreecommitdiff
path: root/ui/stringsview.h
diff options
context:
space:
mode:
authorGalen Williamson <galen@vector35.com>2025-07-02 12:34:00 -0400
committerGalen Williamson <galen@vector35.com>2025-07-02 12:34:00 -0400
commit02f114a425f6af78ef2e5d4f5b41157541842a34 (patch)
tree870a89eb06594726e9de1f2872cd51ddd4c84f54 /ui/stringsview.h
parenta6afc982e1f38bccac381483a6c0c3c6aa3cb9e7 (diff)
Add refs count column to Strings view table, fix address column width, make sort indicator clearable
Diffstat (limited to 'ui/stringsview.h')
-rw-r--r--ui/stringsview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/stringsview.h b/ui/stringsview.h
index 644cd127..2e1359e0 100644
--- a/ui/stringsview.h
+++ b/ui/stringsview.h
@@ -36,6 +36,7 @@ class BINARYNINJAUIAPI StringsListModel : public QAbstractItemModel, public Bina
BinaryViewRef m_data;
std::vector<BNStringReference> m_allStrings;
std::vector<BNStringReference> m_strings;
+ std::map<uint64_t, uint64_t> m_refCounts;
std::string m_filter;
size_t m_filteredByOptions;
@@ -57,6 +58,7 @@ class BINARYNINJAUIAPI StringsListModel : public QAbstractItemModel, public Bina
COL_ADDRESS = 0,
COL_TYPE,
COL_LENGTH,
+ COL_REFERENCES,
COL_VALUE,
COLUMN_COUNT,
};