seniorObjective-C
How does dyld perform symbol binding at runtime?
Updated May 17, 2026
Short answer
dyld resolves external symbols by linking stubs to actual addresses during load or lazy binding.
Deep explanation
dyld reads Mach-O load commands, maps segments, performs rebasing (fix pointers for ASLR), then binds external symbols using symbol tables. Lazy binding defers resolution until first call via stubs.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro