Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
0cyn opened this issue Feb 20, 2025 · 0 comments

Comments

@0cyn
Copy link
Member

0cyn commented Feb 20, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant