Skip to content

Commit 02f114a

Browse files
committed
Add refs count column to Strings view table, fix address column width, make sort indicator clearable
1 parent a6afc98 commit 02f114a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/stringsview.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class BINARYNINJAUIAPI StringsListModel : public QAbstractItemModel, public Bina
3636
BinaryViewRef m_data;
3737
std::vector<BNStringReference> m_allStrings;
3838
std::vector<BNStringReference> m_strings;
39+
std::map<uint64_t, uint64_t> m_refCounts;
3940
std::string m_filter;
4041

4142
size_t m_filteredByOptions;
@@ -57,6 +58,7 @@ class BINARYNINJAUIAPI StringsListModel : public QAbstractItemModel, public Bina
5758
COL_ADDRESS = 0,
5859
COL_TYPE,
5960
COL_LENGTH,
61+
COL_REFERENCES,
6062
COL_VALUE,
6163
COLUMN_COUNT,
6264
};

0 commit comments

Comments
 (0)