【Executing Mach-O Files】
1、Overview
The process of loading and linking a program in OS X mainly involves two entities: the OS X kernel and the dynamic linker. When you execute a program, the kernel creates a process for the program, and loads the program and the dynamic linker shared library, usually /usr/lib/dyld
, in the program’s address space. The kernel then executes code in the dynamic linker that loads the libraries the program references.