Struct elf::types::SectionHeader
[−]
[src]
pub struct SectionHeader {
pub name: String,
pub shtype: SectionType,
pub flags: SectionFlag,
pub addr: u64,
pub offset: u64,
pub size: u64,
pub link: u32,
pub info: u32,
pub addralign: u64,
pub entsize: u64,
}Encapsulates the contents of an ELF Section Header
Fields
name: String
Section Name
shtype: SectionType
Section Type
flags: SectionFlag
Section Flags
addr: u64
in-memory address where this section is loaded
offset: u64
Byte-offset into the file where this section starts
size: u64
Section size in bytes
link: u32
Defined by section type
info: u32
Defined by section type
addralign: u64
address alignment
entsize: u64
size of an entry if section data is an array of entries
Trait Implementations
impl Eq for SectionHeader[src]
impl PartialEq for SectionHeader[src]
fn eq(&self, __arg_0: &SectionHeader) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &SectionHeader) -> bool
This method tests for !=.
impl Debug for SectionHeader[src]
impl Clone for SectionHeader[src]
fn clone(&self) -> SectionHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more