Vector35 / Vector35/binaryninja-api

j_xxx functions are being given symbols

Open
#8,475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version and Platform:

  • Binary Ninja Version: 6.1.10533-dev
  • Edition: Ultimate
  • OS: OSX
  • OS Version: 26.5.2
  • CPU Architecture: M3

Bug Description:
Functions without symbols (in the file header) are being given symbols (in bv.symbols) if they're j_* functions.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open any binary
  2. Run [sym for sym in bv.symbols if sym.startswith('j_')]

Expected Behavior:
These functions shouldn't have symbols in bv.symbols (see correctly missing sub_ function below with the j_ to it). As discussed during the hackathon, function.symbol is confusing enough without them also spilling into the global symbols.

Screenshots/Video Recording:
If applicable, please add screenshots/video recording here to help explain your problem.

Image

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

Start by opening any binary and running [sym for sym in bv.symbols if sym.startswith('j_')], then compare those results with the corresponding function.symbol values and the correctly missing sub_ function. Trace where j_* names enter bv.symbols and verify that symbol-less functions no longer appear there while genuine symbols remain available.

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
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.