binaryninja-api
binaryninja-api copied to clipboard
Add length column to Strings view
What is the feature you'd like to have? The Strings view should have a Length column to allow sorting strings by length.
Additional Information: I've already started implementing this in a branch in the main repo of the same name as this one:
https://github.com/Vector35/binaryninja-api/tree/add_strings_view_length_column
What does "length" mean? Bytes or characters?
~~Both!~~
It means characters, iirc. It's the length of the string, not its size in memory. (Otherwise it'd be "Size" or "Bytes"... would that be more useful, or in addition?)
Either answer is fine, "both" is the only wrong one! 😛 I agree with "length" counting characters, and I don't want to scope creep you by asking for a separate "size" column (although, I'm confident there's a use-case for it). I just wanted to make sure we were considering different encodings. We should probably document what "length" means explicitly, though, since it's a valid question to ask.