pub struct Section {
pub name: String,
pub address: u64,
pub size: u64,
pub offset: u64,
pub permissions: SectionPermissions,
pub section_type: SectionType,
pub data: Option<Vec<u8>>,
}Expand description
Binary section information
Fields§
§name: StringSection name
address: u64Virtual address
size: u64Size in bytes
offset: u64File offset
permissions: SectionPermissionsSection permissions
section_type: SectionTypeSection type
data: Option<Vec<u8>>Raw data (optional, for small sections)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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