Vector35 / Vector35/binaryninja-api

Match selected token to according address in linear view when switching from HLIL to assembly

Open
#5,674 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What is the feature you'd like to have?
Usually it's pretty helpful to click (select) on token e.g. argument of function call and change the current view from HLIL to assembly to see low-level part of it, currently afaik BN just match only IL line (or whole IL instruction) to one address in assembly, so no matter what was selected the address in assembly view only one for whole instruction, thus we need to additionally look for needed instructions

Additional Information:
I think it can be easily done with plugin, but there is still no clean ways to match selected token to corresponding IL sub-expression (and according to #2722, some of the tokens just can't be matched anyhow)

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

Review the HLIL-to-assembly view behavior described here and the token-matching limitations discussed in #2722. Confirm which selected-token mappings are supported and define observable behavior for switching views before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
reverse-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.