Struct minidump_writer::mach::SegmentCommand64
source · #[repr(C)]pub struct SegmentCommand64 {
pub cmd_size: u32,
pub segment_name: [u8; 16],
pub vm_addr: u64,
pub vm_size: u64,
pub file_off: u64,
pub file_size: u64,
pub max_prot: i32,
pub init_prot: i32,
pub num_sections: u32,
pub flags: u32,
/* private fields */
}
Expand description
The 64-bit segment load command indicates that a part of this file is to be
mapped into a 64-bit task’s address space. If the 64-bit segment has
sections then section_64 structures directly follow the 64-bit segment
command and their size is reflected in cmdsize
.
Fields§
§cmd_size: u32
§segment_name: [u8; 16]
String name of the section
vm_addr: u64
Memory address the segment is mapped to
vm_size: u64
Total size of the segment
file_off: u64
File offset of the segment
file_size: u64
Amount mapped from the file
max_prot: i32
Maximum VM protection
init_prot: i32
Initial VM protection
num_sections: u32
Number of sections in the segment
flags: u32
Auto Trait Implementations§
impl Freeze for SegmentCommand64
impl RefUnwindSafe for SegmentCommand64
impl Send for SegmentCommand64
impl Sync for SegmentCommand64
impl Unpin for SegmentCommand64
impl UnwindSafe for SegmentCommand64
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