extern struct linkedit_data_command [src]
The linkedit_data_command contains the offsets and sizes of a blob
of data in the __LINKEDIT segment.
Fields
cmd: LCLC_CODE_SIGNATURE, LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE, LC_DYLIB_CODE_SIGN_DRS or LC_LINKER_OPTIMIZATION_HINT.
cmdsize: u32 = @sizeOf(linkedit_data_command)sizeof(struct linkedit_data_command)
dataoff: u32 = 0file offset of data in __LINKEDIT segment
datasize: u32 = 0file size of data in __LINKEDIT segment
Source
pub const linkedit_data_command = extern struct {
/// LC_CODE_SIGNATURE, LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE, LC_DYLIB_CODE_SIGN_DRS or LC_LINKER_OPTIMIZATION_HINT.
cmd: LC,
/// sizeof(struct linkedit_data_command)
cmdsize: u32 = @sizeOf(linkedit_data_command),
/// file offset of data in __LINKEDIT segment
dataoff: u32 = 0,
/// file size of data in __LINKEDIT segment
datasize: u32 = 0,
}