Optionally fail the naviagation if there is no matching instruciton on the requested address

Open
#5,978 1 comment 1 reaction 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

No files or tests are named in the issue. Start by locating the navigation handling for requested addresses and the graph-to-hex-view transition. Done means an optional exact-navigation mode fails when no instruction matches the address and switches to hex view, while existing navigation remains unchanged.

Written by the indexing model from the issue text.

Description

Component: UI Effort: Low Impact: Low

Often times in obfuscated binaries, there will be instructions at a wrong address. Binary Ninja handles overlapping code with no issue, but the process to navigate to the correct address and creating the function can be less intuitive.

In the below screenshot, the code in the first function is naughty, and after it returns, the execution actually gets to 0x69f009a, in between two instructions.

Screenshot_2024-10-06_at_11 06 58_AM copy

The problem is, when I try to navigate to that address, the graph view will remain in the current graph, since the target address is in the basic block. It would be nice if the user can specify they want to do an exact navigation, and the operation should fail if there is no matching instruction on the same address. Then it should switch to hex view to show the address

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.