pub struct SectionHeader {
pub name: [u8; 8],
pub virtual_size: u32,
pub virtual_address: u32,
pub size_of_raw_data: u32,
pub pointer_to_raw_data: u32,
pub pointer_to_relocations: u32,
pub pointer_to_linenumbers: u32,
pub number_of_relocations: u16,
pub number_of_linenumbers: u16,
pub characteristics: u32,
}Expand description
Parsed IMAGE_SECTION_HEADER.
name is the raw 8-byte field; for “long” names that start with
'/' followed by a decimal offset into the COFF string table,
callers are responsible for resolving via the symbol table.
Fields§
§name: [u8; 8]§virtual_size: u32§virtual_address: u32§size_of_raw_data: u32§pointer_to_raw_data: u32§pointer_to_relocations: u32§pointer_to_linenumbers: u32§number_of_relocations: u16§number_of_linenumbers: u16§characteristics: u32Implementations§
Trait Implementations§
Source§impl Clone for SectionHeader
impl Clone for SectionHeader
Source§fn clone(&self) -> SectionHeader
fn clone(&self) -> SectionHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionHeader
impl Debug for SectionHeader
Source§impl PartialEq for SectionHeader
impl PartialEq for SectionHeader
Source§fn eq(&self, other: &SectionHeader) -> bool
fn eq(&self, other: &SectionHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SectionHeader
impl StructuralPartialEq for SectionHeader
Auto Trait Implementations§
impl Freeze for SectionHeader
impl RefUnwindSafe for SectionHeader
impl Send for SectionHeader
impl Sync for SectionHeader
impl Unpin for SectionHeader
impl UnsafeUnpin for SectionHeader
impl UnwindSafe for SectionHeader
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