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 pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Objective-C interview questions

View all →