Struct goblin::mach::load_command::DataInCodeEntry
source · #[repr(C)]pub struct DataInCodeEntry {
pub offset: u32,
pub length: u16,
pub kind: u16,
}Expand description
The LC_DATA_IN_CODE load commands uses a linkedit_data_command to point to an array of data_in_code_entry entries. Each entry describes a range of data in a code section.
Fields§
§offset: u32from mach_header to start of data range
length: u16number of bytes in data range
kind: u16a DICE_KIND_* value
Trait Implementations§
source§impl Clone for DataInCodeEntry
impl Clone for DataInCodeEntry
source§fn clone(&self) -> DataInCodeEntry
fn clone(&self) -> DataInCodeEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more