Vector35 / Vector35/binaryninja-api

Annotate the string contents when the code references a poitner to string

Open
#5,497 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Effort: Low Impact: Low
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

I know the title is not easy to follow, but it is easy to see in this screenshot.

Screenshot 2024-06-04 at 10 54 07 PM

On the left, we have code that references data_14001c400, which is a pointer and its content is a pointer to string:

14001c400  char const (* data_14001c400)[0x3d] = data_14001c3c0 {"Please enter your Username and p…"}

We should annotate the string contents in the code to make it more readable

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

No source file, entry point, or test is named. Start by reproducing the screenshot case and tracing the decompiler or display path that renders references to pointer-to-string data. Done means the generated code annotates the referenced string contents while preserving the existing pointer representation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
reverse-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.