lc_str

A variable length string in a load command is represented by an lc_str union. The strings are stored just after the load command structure and the offset is from the start of the load command structure. The size of the string is reflected in the cmdsize field of the load command. Once again any padded bytes to bring the cmdsize field to a multiple of 4 bytes must be zero.

version(CoreDdoc)
union lc_str {}

Members

Variables

offset
uint offset;

Offset to the string.

ptr
char* ptr;

Pointer to the string (only available on non 64 bit platforms).

Meta