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: String
Section name
address: u64
Virtual address
size: u64
Size in bytes
offset: u64
File offset
permissions: SectionPermissions
Section permissions
section_type: SectionType
Section 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