

# 2026-11-24 — dyld message captured; the missing symbol is called from libobjc

## Capture (hooking dyld's own abort path on the X, build 50)
Hooked inside dyld: abort_with_payload (dyld+0x6ebfc),
abort_with_payload_wrapper_internal (0x6ebcc), __abort_with_payload (0x64ee4),
dyld4::halt (0x17f1c), _dyld_missing_symbol_abort (0x3e280).

Captured payload: `__abort_with_payload(reason_namespace=6, reason_code=4,
reason_string=StructuredError*, payload=20,
payload_string="missing symbol called", flags=0)` with the backtrace

    dyld+0x6ebcc <- dyld+0x6ebfc <- dyld+0x17f1c
    <- libobjc.A.dylib+0x174f4 <- +0x10f3c <- +0x174f4 <- +0x86ec <- +0x10090 <- +0x86ec <- +0x10090

i.e. **the ObjC runtime (libobjc) is recursing and calls the missing symbol** -
not the Driver's stub directly (the earlier build-47/49 crash at Driver+0x32820
is the same missing symbol reached through the scene-delegate path instead).

The payload string is generic; dyld does NOT put the symbol name in it.

## Confirmed dead ends for recovering the name from the binaries we hold
- indirect symbol table: all 13,818 entries = 0xC0000000 (LOCAL|ABS) - in the
  ORIGINAL Apple binary too (chained-fixups convention, vestigial table)
- symtab/strtab: zeroed in the memory image; LC_SYMTAB offsets point into a
  sparse region while the real name content lives at mem 0x2138000..0x2198000
- lazy bind stream: zeroed everywhere (dyld consumed and zeroed it at launch)
- the region at bind_off (0x205b0d0) parses as the EXPORT TRIE, not a bind stream
  (trie nodes start with a terminal-size byte; 0x12 = 18)
- a byte-pattern scan for `0x80 03 <uleb in __la_symbol_ptr range>` over the whole
  on-disk image finds only false positives, and no entry for slot 389

## What is actually happening
With the correct Driver, the shield no longer hijacks the scene configuration:
the REAL Driver.SceneDelegate.willConnect runs on both devices. It immediately
calls a Swift value-type metadata accessor (stub 0x18fe118, x0=0) whose symbol
dyld cannot find, and the ObjC runtime's handling of that missing symbol is what
aborts the process.

## The one remaining unknown
The name of that one import. Sources left:
1. **The 15 Pro (iOS 27) syslog** during launch - `pymobiledevice3 syslog live`;
   iOS 27's dyld may log the symbol name where 16.7's does not.
2. Test build 50 on the 15 Pro: it may simply WORK there (the symbol may exist on
   iOS 27 and be absent on iOS 16.7.16 - the X may be too old for the real launch
   path even though the shield path runs).
3. A dump tool that preserves __LINKEDIT from the on-disk App Store binary
   (FairPlay does not encrypt __LINKEDIT) would give the pristine lazy-bind
   stream with all 5,397 names.

## Files
- `E:\ios\GSMDriver-3.19.0-patched50-unsigned.ipa`
  sha256 76d84d0859c127016202e1d80df1191a7beaed916ccab10dc60e1d5f873656fa
- `capturedyld.py` / `capturedyld2.py` - the dyld abort capture harness
- `lookupstub.py` - indirect-table lookup (works, but the table has no names)
- `findlazy.py` / `parsebind.py` / `scandense.py` / `findsymtab.py` - the scans
  that ruled the other sources out
