Vector35 / Vector35/binaryninja-api

Rotating ILs whenever selection is in an inlined area of code causes the view to navigate to the first function in binary

Open
#6,438 0 comments 0 reactions 1 assignee View on GitHub

@plafosse is already working on this.

Since Mar 11, 2025.

Component: UI Effort: Low Impact: Medium
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.3.6898

Bug Description:
Rotating ILs whenever selection is in an inlined area of code causes the view to navigate to the first function in binary

Steps To Reproduce:

  1. Open a recent arm64 Objective-C binary. /System/Applications/Calculator.app/Contents/MacOS/Calculator is applicable
  2. Navigate to an obj-c function, e.g. -[LCDController awakeFromNib] in HLIL
  3. With the first line selected (or any line that has an address not within this function), rotate ILs with the I hotkey
  4. observe navigation to the first function in the binary

Expected Behavior:
Ideally, this should modify the selection to be of the function header, meaning pressing I 4 times to cycle back to HLIL leaves you in almost the same place.

A different approach would be to move the selection to the inlined function. I don't think this is what behavior would be expected, though.

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

Binary:
Calculator.zip

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.