Skip to content

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

Open
@bdash

Description

@bdash

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.

Metadata

Metadata

Assignees

Labels

Component: CoreIssue needs changes to the coreState: Awaiting TriageIssue is waiting for more in-depth triage from a developerUI: Cross ReferencesIssues with the Cross References widget

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions