References via relative pointer types are not shown in cross references

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

@rssor is already working on this.

Since May 27, 2025.

Assessment

This issue has not been assessed yet.

Description

Component: Core State: Awaiting Triage UI: Cross References

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 #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.

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.