You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Resolve symbol-pointer section addresses with getsectiondata instead of section->addr + __TEXT slide. In the dyld shared cache, __TEXT and the
data segments are split into separate regions with different offsets, so the __TEXT slide does not apply to a data section's link-time address and the
computed pointer landed in an unmapped cache hole — faulting (SIGBUS /
KERN_PROTECTION_FAILURE) while rebinding shared-cache images. getsectiondata
returns the correct mapped address and size for both cache and on-disk images.