Enum SectionType

Source
#[repr(u32)]
pub enum SectionType {
Show 59 variants Invalid = 0, Code = 1, Container = 2, Data = 3, DataCString = 4, DataCStringPointers = 5, DataSymbolAddress = 6, Data4 = 7, Data8 = 8, Data16 = 9, DataPointers = 10, Debug = 11, ZeroFill = 12, DataObjCMessageRefs = 13, DataObjCCFStrings = 14, DWARFDebugAbbrev = 15, DWARFDebugAddr = 16, DWARFDebugAranges = 17, DWARFDebugFrame = 18, DWARFDebugInfo = 19, DWARFDebugLine = 20, DWARFDebugLoc = 21, DWARFDebugMacInfo = 22, DWARFDebugMacro = 23, DWARFDebugPubNames = 24, DWARFDebugPubTypes = 25, DWARFDebugRanges = 26, DWARFDebugStr = 27, DWARFDebugStrOffsets = 28, DWARFAppleNames = 29, DWARFAppleTypes = 30, DWARFAppleNamespaces = 31, DWARFAppleObjC = 32, ELFSymbolTable = 33, ELFDynamicSymbols = 34, ELFRelocationEntries = 35, ELFDynamicLinkInfo = 36, EHFrame = 37, ARMexidx = 38, ARMextab = 39, CompactUnwind = 40, GoSymtab = 41, AbsoluteAddress = 42, DWARFGNUDebugAltLink = 43, DWARFDebugTypes = 44, DWARFDebugNames = 45, Other = 46, DWARFDebugLineStr = 47, DWARFDebugRngLists = 48, DWARFDebugLocLists = 49, DWARFDebugAbbrevDwo = 50, DWARFDebugInfoDwo = 51, DWARFDebugStrDwo = 52, DWARFDebugStrOffsetsDwo = 53, DWARFDebugTypesDwo = 54, DWARFDebugRngListsDwo = 55, DWARFDebugLocDwo = 56, DWARFDebugLocListsDwo = 57, DWARFDebugTuIndex = 58,
}

Variants§

§

Invalid = 0

§

Code = 1

§

Container = 2

The section contains child sections.

§

Data = 3

§

DataCString = 4

Inlined C string data.

§

DataCStringPointers = 5

Pointers to C string data.

§

DataSymbolAddress = 6

Address of a symbol in the symbol table.

§

Data4 = 7

§

Data8 = 8

§

Data16 = 9

§

DataPointers = 10

§

Debug = 11

§

ZeroFill = 12

§

DataObjCMessageRefs = 13

Pointer to function pointer + selector.

§

DataObjCCFStrings = 14

Objective-C const CFString/NSString objects.

§

DWARFDebugAbbrev = 15

§

DWARFDebugAddr = 16

§

DWARFDebugAranges = 17

§

DWARFDebugFrame = 18

§

DWARFDebugInfo = 19

§

DWARFDebugLine = 20

§

DWARFDebugLoc = 21

§

DWARFDebugMacInfo = 22

§

DWARFDebugMacro = 23

§

DWARFDebugPubNames = 24

§

DWARFDebugPubTypes = 25

§

DWARFDebugRanges = 26

§

DWARFDebugStr = 27

§

DWARFDebugStrOffsets = 28

§

DWARFAppleNames = 29

§

DWARFAppleTypes = 30

§

DWARFAppleNamespaces = 31

§

DWARFAppleObjC = 32

§

ELFSymbolTable = 33

ELF SHT_SYMTAB section.

§

ELFDynamicSymbols = 34

ELF SHT_DYNSYM1 section.

§

ELFRelocationEntries = 35

ELF SHT_REL or SHT_RELA section.

§

ELFDynamicLinkInfo = 36

ELF SHT_DYNAMIC section.

§

EHFrame = 37

§

ARMexidx = 38

§

ARMextab = 39

§

CompactUnwind = 40

Compact unwind section in Mach-O, __TEXT,__unwind_info.

§

GoSymtab = 41

§

AbsoluteAddress = 42

Dummy section for symbols with an absolute address.

§

DWARFDebugTypes = 44

DWARF .debug_types section.

§

DWARFDebugNames = 45

DWARF v5 .debug_names section.

§

Other = 46

§

DWARFDebugLineStr = 47

DWARF v5 .debug_line_str section.

§

DWARFDebugRngLists = 48

DWARF v5 .debug_rnglists section.

§

DWARFDebugLocLists = 49

DWARF v5 .debug_loclists section.

§

DWARFDebugAbbrevDwo = 50

§

DWARFDebugInfoDwo = 51

§

DWARFDebugStrDwo = 52

§

DWARFDebugStrOffsetsDwo = 53

§

DWARFDebugTypesDwo = 54

§

DWARFDebugRngListsDwo = 55

§

DWARFDebugLocDwo = 56

§

DWARFDebugLocListsDwo = 57

§

DWARFDebugTuIndex = 58

Trait Implementations§

Source§

impl Clone for SectionType

Source§

fn clone(&self) -> SectionType

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SectionType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SectionType

Source§

fn eq(&self, other: &SectionType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for SectionType

Source§

fn partial_cmp(&self, other: &SectionType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for SectionType

Source§

impl Eq for SectionType

Source§

impl StructuralPartialEq for SectionType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.