Vector35 / Vector35/binaryninja-api

Small string explicitly defined as a string does not show up in strings view.

Open
#3,428 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Effort: Trivial Impact: Low
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:

  1. Compile a binary with a small string ( echo 'int main(void) { char* item = "-v"; return 0; }' | clang -x c -o bugbin -
  2. Open the binary in binaryninja
  3. Define the string as a string
  4. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.