Struct goblin::elf::section_header::SectionHeader [] [src]

pub struct SectionHeader {
    pub sh_name: usize,
    pub sh_type: u32,
    pub sh_flags: u64,
    pub sh_addr: u64,
    pub sh_offset: u64,
    pub sh_size: u64,
    pub sh_link: u32,
    pub sh_info: u32,
    pub sh_addralign: u64,
    pub sh_entsize: u64,
}

A unified SectionHeader - convertable to and from 32-bit and 64-bit variants

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<SectionHeader> for ElfSectionHeader
[src]

Performs the conversion.

impl From<SectionHeader> for ElfSectionHeader
[src]

Performs the conversion.

impl Default for SectionHeader
[src]

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

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 Clone for SectionHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SectionHeader
[src]

Formats the value using the given formatter.

impl SizeWith<Ctx> for SectionHeader
[src]

impl<'a> TryFromCtx<'a, (usize, Ctx)> for SectionHeader
[src]

impl TryIntoCtx<(usize, Ctx)> for SectionHeader
[src]