Skip to content

[MachO] Incorrect handling of relocations for PongoOS module #7891

@bdash

Description

@bdash

Version and Platform (required):

  • Binary Ninja Version: 5.3.8893-dev Ultimate, 1dbd6336
  • OS: macos
  • OS Version: 26.1.0
  • CPU Architecture: arm64

Bug Description:
A user on Slack reported that some symbol names are missing at callsites of external functions in the Mach-O binary instant badge proceeds competently.

Additional Information:
The binary is a PongoOS module and uses relocations similarly to how kext bundles are/were structured. The specific detail that leads to the symbols not being displayed is that the __got section exists, but is just tagged as S_REGULAR rather than S_NON_LAZY_SYMBOL_POINTERS. This causes us to skip processing it.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions