DyldExtractor icon indicating copy to clipboard operation
DyldExtractor copied to clipboard

Unable to resolve local symbols in `__auth_got`

Open sledgeh4w opened this issue 3 months ago • 1 comments

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.

sledgeh4w avatar Dec 24 '25 15:12 sledgeh4w

Hi, I’ve attempted a fix and it seems to work for me. Could you please review it? @arandomdev

sledgeh4w avatar Dec 24 '25 15:12 sledgeh4w

I'm very sorry, this project has been mostly stopped. I really appreciate your work on it though.

arandomdev avatar Dec 28 '25 19:12 arandomdev