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, }

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

Section name (string tbl index)

Section type

Section flags

Section virtual addr at execution

Section file offset

Section size in bytes

Link to another section

Additional section information

Section alignment

Entry size if section holds table

Methods

impl SectionHeader
[src]

Trait Implementations

impl From<ElfSectionHeader> for SectionHeader
[src]

Performs the conversion.

impl Copy for SectionHeader
[src]

impl Clone for SectionHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for SectionHeader
[src]

impl PartialEq for SectionHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for SectionHeader
[src]

Returns the "default value" for a type. Read more

impl<'a> TryFromCtx<'a> for SectionHeader where SectionHeader: 'a
[src]

impl TryIntoCtx for SectionHeader
[src]

impl SizeWith for SectionHeader
[src]

impl Debug for SectionHeader
[src]

Formats the value using the given formatter.