Struct elfio::Symbol[][src]

pub struct Symbol {
    pub name: String,
    pub value: Elf64Addr,
    pub size: ElfXword,
    pub bind: u8,
    pub stype: u8,
    pub other: u8,
    pub shndx: ElfHalf,
}
Expand description

A struct represents a single symbol from symbol table section

See documentation for SymbolSectionAccessor for usage example

Fields

name: String

The name of the associated symbol

value: Elf64Addr

The value of the associated symbol

size: ElfXword

The symbol’s associated size

bind: u8

This member specifies the symbol’s binding attribute

stype: u8

This member specifies the symbol’s type attribute

other: u8

This member specifies a symbol’s visibility

shndx: ElfHalf

Every symbol table entry is defined in relation to some section. This member holds the relevant section header table index.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.