Skip to content

Unable to resolve local symbols in __auth_got #70

@sledgeh4w

Description

@sledgeh4w

Describe the bug
During the process of fixing stubs, DyldExtractor redirects pointers in __auth_got to __auth_stub. While this works correctly for external symbols, it causes issues for symbols of type INDIRECT_SYMBOL_LOCAL. These local symbols cannot be correctly bound during resolution, and consequently, the disassembler fails to parse them.

As shown in the image below, the address off_1DCF93E00 should point to _objc_release, but due to this issue, it remains unresolved.

libobjc.A.dylib extracted from dyld_shared_cache_arm64e:

Image

To Reproduce

  1. iOS version: 14.2.1
  2. DYLD target device and identifier: iPhone13,1
  3. Terminal command to reproduce: dyldex -e libobjc.A.dylib dyld_shared_cache_arm64e

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions