xrefs to the function is always shown despite a variable token is selected

Open
#7,397 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the reported Binary Ninja behavior by selecting the this token in the example and observing the xrefs shown for the whole line. Trace the xref display behavior from that selection state; done means token selection shows xrefs only for the selected token, while whole-line selection preserves the current behavior.

Written by the indexing model from the issue text.

Description

Component: UI Effort: Low Impact: Low UI: Cross References

What is the feature you'd like to have?
AFAIK currently xrefs being shown for the items of the whole line, however it is frustrating sometimes, it would be cool if BN can show xrefs only for selected token (if something was selected of course) and if user selected whole line, then show xrefs as it now - for the whole line.

Are any alternative solutions acceptable?
Please provide a clear and concise description of any alternative solutions or features you've considered.

Additional Information:
Here is an example, you may see, that I'm selected this, so I kinda don't expect xrefs on the Oxide.PlayerManager$$cpF_hook, but on the this, however for some reason bn showing xrefs for function as well:
Image

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

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.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.