Struct lief::macho::commands::DataInCode
pub struct DataInCode<'a> { /* private fields */ }
Expand description
Structure that represents the LC_DATA_IN_CODE
command
This command is used to list slices of code sections that contain data. The slices
information are stored as an array of DataCodeEntry
Implementations§
§impl DataInCode<'_>
impl DataInCode<'_>
pub fn data_offset(&self) -> u32
pub fn data_offset(&self) -> u32
Start of the array of the DataCodeEntry
entries
pub fn entries(&self) -> Entries<'_> ⓘ
pub fn entries(&self) -> Entries<'_> ⓘ
Iterator over the DataCodeEntry
Trait Implementations§
§impl Command for DataInCode<'_>
impl Command for DataInCode<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DataInCode<'a>
impl<'a> !Send for DataInCode<'a>
impl<'a> !Sync for DataInCode<'a>
impl<'a> Unpin for DataInCode<'a>
impl<'a> UnwindSafe for DataInCode<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more