Vector35 / Vector35/binaryninja-api

Cross References Don't Preview in Pseudo-C

Open
#5,746 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Core Component: UI Impact: Low LanguageRep: Pseudo-C UI: Cross References
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 4.0.5336 and 4.1.5741-dev
  • OS: macOS and Ubuntu
  • OS Version: 14.5 and 24.04
  • CPU Architecture: aarch64

Bug Description:
The "Preview" part of Cross-References doesn't show anything for a very large number of entries in Pseudo-C

Steps To Reproduce:

  1. Go to a function and click on something with a cross-reference
  2. Switch to Pseudo-C
  3. Observe that lots of things don't show a "Preview"
  4. Switch to something other than Pseudo-C
  5. Observe that they all have a preview

Expected Behavior:
Pseudo-C should show previews.

Screenshots/Video Recording:
HLIL:
image

Pseudo-C:
image

Binary:
lighttpd.zip

Additional Information:
As shown in the screenshot, it may also be missing some cross-references as well.

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 in Binary Ninja with the attached lighttpd.zip binary, comparing cross-reference previews in Pseudo-C and HLIL on macOS or Ubuntu. Trace the preview and cross-reference handling from that reproduction; done means the affected references display previews in Pseudo-C consistently with other views, without losing references.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.