DylibCommand

Represents a LC_LOAD_DYLIB, LC_ID_DYLIB, or LC_LOAD_WEAK_DYLIB load command.

Corresponds to the native C structure struct dylib_command, which includes the struct dylib substructure holding versioning info and an offset to the dylib path string.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Minimum compatible version of the dylib (same packing format).

Link copied to clipboard

Current version of the dylib (packed: major << 16 | minor << 8 | patch).

Link copied to clipboard

Path to the shared library. A null-terminated ASCII string inside this load command.

Link copied to clipboard
open override val size: UInt

Actual size of this load command, read directly from the Mach-O file.

Link copied to clipboard

Timestamp used by the dynamic linker to evaluate prebinding.

Link copied to clipboard
open override val type: MachoLoadCommandType

Type of the load command: LC_LOAD_DYLIB, LC_ID_DYLIB, LC_LOAD_WEAK_DYLIB, etc.