Struct goblin::elf::section_header::section_header32::SectionHeader [−][src]
#[repr(C)]pub struct SectionHeader { pub sh_name: u32, pub sh_type: u32, pub sh_flags: u32, pub sh_addr: u32, pub sh_offset: u32, pub sh_size: u32, pub sh_link: u32, pub sh_info: u32, pub sh_addralign: u32, pub sh_entsize: u32, }
Expand description
Section Headers are typically used by humans and static linkers for additional information or how to relocate the object
NOTE section headers are strippable from a binary without any loss of portability/executability; do not rely on them being there!
Fields
sh_name: u32
Section name (string tbl index)
sh_type: u32
Section type
sh_flags: u32
Section flags
sh_addr: u32
Section virtual addr at execution
sh_offset: u32
Section file offset
sh_size: u32
Section size in bytes
sh_link: u32
Link to another section
sh_info: u32
Additional section information
sh_addralign: u32
Section alignment
sh_entsize: u32
Entry size if section holds table
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SectionHeader
impl Send for SectionHeader
impl Sync for SectionHeader
impl Unpin for SectionHeader
impl UnwindSafe for SectionHeader
Blanket Implementations
Mutably borrows from an owned value. Read more