Insert Dylib
: It increments the Mach-O header's ncmds (number of commands) and adjusts sizeofcmds .
In the Apple ecosystem, the dynamic linker (known as dyld ) is responsible for loading shared libraries into a process's address space. There are two primary methods for "inserting" a dylib: insert dylib
Inject:
At startup, enumerate loaded dylibs and exit if an unknown one appears. : It increments the Mach-O header's ncmds (number