Vector35 / Vector35/binaryninja-api
Small string explicitly defined as a string does not show up in strings view.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
Version and Platform (required):
- Binary Ninja Version: 3.1.3642
Bug Description:
Strings decided to be "small" are not shown in the strings view even when explicitly defined as strings
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
- Compile a binary with a small string (
echo 'int main(void) { char* item = "-v"; return 0; }' | clang -x c -o bugbin - - Open the binary in binaryninja
- Define the string as a string
- Open Strings View and witness it not there
Expected Behavior:
Strings defined as strings should appear in the strings view
Additional Information:
Strings are arbitrarily limited from autodetection elsewhere by length, and presumably, strings view's source of strings is as well, since otherwise every ascii valid instruction would appear there.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the provided clang command, then trace how the binary is analyzed and how Strings View receives explicitly defined strings. Done means a string such as "-v" appears in Strings View after it is manually defined, without causing ordinary short instruction text to appear there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- reverse-engineering
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100