Struct elfkit::types::SectionType
[−]
[src]
pub struct SectionType(pub u32);
Methods
impl SectionType
[src]
const NULL: SectionType
NULL: SectionType = SectionType(0)
Section header table entry unused
const PROGBITS: SectionType
PROGBITS: SectionType = SectionType(1)
Program data
const SYMTAB: SectionType
SYMTAB: SectionType = SectionType(2)
Symbol table
const STRTAB: SectionType
STRTAB: SectionType = SectionType(3)
String table
const RELA: SectionType
RELA: SectionType = SectionType(4)
Relocation entries with addends
const HASH: SectionType
HASH: SectionType = SectionType(5)
Symbol hash table
const DYNAMIC: SectionType
DYNAMIC: SectionType = SectionType(6)
Dynamic linking information
const NOTE: SectionType
NOTE: SectionType = SectionType(7)
Notes
const NOBITS: SectionType
NOBITS: SectionType = SectionType(8)
Program space with no data (bss
const REL: SectionType
REL: SectionType = SectionType(9)
Relocation entries); no addends
const SHLIB: SectionType
SHLIB: SectionType = SectionType(10)
Reserved
const DYNSYM: SectionType
DYNSYM: SectionType = SectionType(11)
Dynamic linker symbol table
const INIT_ARRAY: SectionType
INIT_ARRAY: SectionType = SectionType(14)
Array of constructors
const FINI_ARRAY: SectionType
FINI_ARRAY: SectionType = SectionType(15)
Array of destructors
const PREINIT_ARRAY: SectionType
PREINIT_ARRAY: SectionType = SectionType(16)
Array of pre-constructors
const GROUP: SectionType
GROUP: SectionType = SectionType(17)
Section group
const SYMTAB_SHNDX: SectionType
SYMTAB_SHNDX: SectionType = SectionType(18)
Extended section indeces
const NUM: SectionType
NUM: SectionType = SectionType(19)
Number of defined types
const GNU_ATTRIBUTES: SectionType
GNU_ATTRIBUTES: SectionType = SectionType(1879048181)
Object attributes
const GNU_HASH: SectionType
GNU_HASH: SectionType = SectionType(1879048182)
GNU-style hash table
const GNU_LIBLIST: SectionType
GNU_LIBLIST: SectionType = SectionType(1879048183)
Prelink library list
const CHECKSUM: SectionType
CHECKSUM: SectionType = SectionType(1879048184)
Checksum for DSO content
const SUNW_MOVE: SectionType
SUNW_MOVE: SectionType = SectionType(1879048186)
const SUNW_COMDAT: SectionType
SUNW_COMDAT: SectionType = SectionType(1879048187)
const SUNW_SYMINFO: SectionType
SUNW_SYMINFO: SectionType = SectionType(1879048188)
const GNU_VERDEF: SectionType
GNU_VERDEF: SectionType = SectionType(1879048189)
Version definition section
const GNU_VERNEED: SectionType
GNU_VERNEED: SectionType = SectionType(1879048190)
Version needs section
const GNU_VERSYM: SectionType
GNU_VERSYM: SectionType = SectionType(1879048191)
Version symbol table
const ARM_EXIDX: SectionType
ARM_EXIDX: SectionType = SectionType(1879048193)
const ARM_PREEMPTMAP: SectionType
ARM_PREEMPTMAP: SectionType = SectionType(1879048194)
const ARM_ATTRIBUTES: SectionType
ARM_ATTRIBUTES: SectionType = SectionType(1879048195)
const ARM_DEBUGOVERLAY: SectionType
ARM_DEBUGOVERLAY: SectionType = SectionType(1879048196)
const ARM_OVERLAYSECTION: SectionType
ARM_OVERLAYSECTION: SectionType = SectionType(1879048197)
const MIPS_LIBLIST: SectionType
MIPS_LIBLIST: SectionType = SectionType(1879048193)
const MIPS_CONFLICT: SectionType
MIPS_CONFLICT: SectionType = SectionType(1879048194)
const MIPS_GPTAB: SectionType
MIPS_GPTAB: SectionType = SectionType(1879048195)
const MIPS_UCODE: SectionType
MIPS_UCODE: SectionType = SectionType(1879048196)
const MIPS_DEBUG: SectionType
MIPS_DEBUG: SectionType = SectionType(1879048197)
const MIPS_REGINFO: SectionType
MIPS_REGINFO: SectionType = SectionType(1879048198)
fn to_u32(&self) -> u32
[src]
fn typename(&self, eh: &Header) -> Option<&'static str>
[src]
Trait Implementations
impl Debug for SectionType
[src]
impl Clone for SectionType
[src]
fn clone(&self) -> SectionType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SectionType
[src]
fn eq(&self, __arg_0: &SectionType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SectionType) -> bool
[src]
This method tests for !=
.