Skip to content

References via relative pointer types are not shown in cross references #6701

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

Open
bdash opened this issue Apr 22, 2025 · 0 comments
Open

References via relative pointer types are not shown in cross references #6701

bdash opened this issue Apr 22, 2025 · 0 comments
Assignees
Labels
Component: Core Issue needs changes to the core State: Awaiting Triage Issue is waiting for more in-depth triage from a developer UI: Cross References Issues with the Cross References widget

Comments

@bdash
Copy link
Contributor

bdash commented Apr 22, 2025

Version and Platform (required):

  • Binary Ninja Version: 5.0.7284-dev (e7d42d95)
  • OS: macOS 15.4.1
  • CPU Architecture: arm64

Bug Description:
The cross references pane does not show references to a function or data variable from structure members that have a relative pointer type (void* __ptr32 __base(var)).

Steps To Reproduce:

  1. Build the shared cache plug-in with [ObjC] Use relative pointer types for members of objc_method_entry_t #6700 in place.
  2. Open a macOS shared cache, load MediaLibrary.framework, and wait for the analysis to complete.
  3. Navigate to method_list_MLMediaObjectImpl.
  4. Pick one of the objc_method_entry_t objects immediately after it, and double click on its imp field to navigate to the method implementation.
  5. Look at the cross references pane.

Expected Behavior:
There should be a cross reference visible for the imp field that points to the function.

Additional information:
This also happens with the other fields of objc_method_entry_t.

@emesare emesare added Component: Core Issue needs changes to the core State: Awaiting Triage Issue is waiting for more in-depth triage from a developer UI: Cross References Issues with the Cross References widget labels Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Issue needs changes to the core State: Awaiting Triage Issue is waiting for more in-depth triage from a developer UI: Cross References Issues with the Cross References widget
Projects
None yet
Development

No branches or pull requests

3 participants