prebound_dylib_command

A program (filetype == MH_EXECUTE) that is prebound to its dynamic libraries has one of these for each library that the static linker used in prebinding. It contains a bit vector for the modules in the library. The bits indicate which modules are bound (1) and which are not (0) from the library. The bit for module 0 is the low bit of the first byte. So the bit for the Nth module is: (linked_modules[N/8] >> N%8) & 1

version(CoreDdoc)
struct prebound_dylib_command {}

Members

Variables

cmd
uint cmd;

LC_PREBOUND_DYLIB.

cmdsize
uint cmdsize;

Includes strings.

linked_modules
lc_str linked_modules;

Bit vector of linked modules.

name
lc_str name;

Library's path name.

nmodules
uint nmodules;

Number of modules in library.

Meta