Skip to main content

DynTag

Struct DynTag 

Source
pub struct DynTag(pub u64);
Expand description

The tag of one dynamic table entry.

Tuple Fields§

§0: u64

Implementations§

Source§

impl DynTag

Source

pub const NULL: Self

Marks the end of the table.

Source

pub const NEEDED: Self

Names one needed shared object.

Source

pub const PLTRELSZ: Self

Size of the PLT relocation table.

Source

pub const PLTGOT: Self

Address of the PLT or GOT.

Source

pub const HASH: Self

Address of the symbol hash table.

Source

pub const STRTAB: Self

Address of the dynamic string table.

Source

pub const SYMTAB: Self

Address of the dynamic symbol table.

Source

pub const RELA: Self

Address of the RELA relocation table.

Source

pub const RELASZ: Self

Total size of the RELA table.

Source

pub const RELAENT: Self

Size of one RELA entry.

Source

pub const STRSZ: Self

Total size of the dynamic string table.

Source

pub const SYMENT: Self

Size of one dynamic symbol entry.

Source

pub const INIT: Self

Address of the init function.

Source

pub const FINI: Self

Address of the fini function.

Source

pub const SONAME: Self

String-table offset of the shared object name.

Source

pub const RPATH: Self

String-table offset of the library search path.

Source

pub const SYMBOLIC: Self

Marks a symbolic link.

Source

pub const REL: Self

Address of the REL relocation table.

Source

pub const RELSZ: Self

Total size of the REL table.

Source

pub const RELENT: Self

Size of one REL entry.

Source

pub const PLTREL: Self

Relocation type of the PLT entries.

Source

pub const DEBUG: Self

Slot for the dynamic linker’s own use.

Source

pub const TEXTREL: Self

Marks relocation of a read-only segment.

Source

pub const JMPREL: Self

Address of the PLT relocation table.

Source

pub const BIND_NOW: Self

Requires eager symbol binding.

Source

pub const INIT_ARRAY: Self

Address of the init-function array.

Source

pub const FINI_ARRAY: Self

Address of the fini-function array.

Source

pub const INIT_ARRAYSZ: Self

Size of the init-function array.

Source

pub const FINI_ARRAYSZ: Self

Size of the fini-function array.

Source

pub const RUNPATH: Self

String-table offset of the runtime search path.

Source

pub const FLAGS: Self

Generic dynamic flags.

Source

pub const ENCODING: Self

Marks the start of the encoded tag range.

Source

pub const PREINIT_ARRAY: Self

Address of the pre-init-function array.

Source

pub const PREINIT_ARRAYSZ: Self

Size of the pre-init-function array.

Source

pub const SYMTAB_SHNDX: Self

Address of the extended section index table.

Source

pub const RELRSZ: Self

Total size of the RELR relocation table.

Source

pub const RELR: Self

Address of the RELR relocation table.

Source

pub const RELRENT: Self

Size of one RELR entry.

Source

pub const GNU_HASH: Self

Address of the GNU-style hash table.

Source

pub const VERSYM: Self

Address of the version symbol table.

Source

pub const RELACOUNT: Self

Number of relative relocations in the RELA table.

Source

pub const RELCOUNT: Self

Number of relative relocations in the REL table.

Source

pub const FLAGS_1: Self

State flags for this object.

Source

pub const VERDEF: Self

Address of the version definition table.

Source

pub const VERDEFNUM: Self

Number of version definitions.

Source

pub const VERNEED: Self

Address of the version dependency table.

Source

pub const VERNEEDNUM: Self

Number of version dependencies.

Source

pub const fn value(self) -> u64

Returns the raw tag value.

Trait Implementations§

Source§

impl Clone for DynTag

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for DynTag

Source§

impl Debug for DynTag

Source§

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

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

impl Eq for DynTag

Source§

impl Hash for DynTag

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for DynTag

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for DynTag

Auto Trait Implementations§

§

impl Forget for DynTag

§

impl Freeze for DynTag

§

impl Move for DynTag

§

impl RefUnwindSafe for DynTag

§

impl Send for DynTag

§

impl Sync for DynTag

§

impl Unpin for DynTag

§

impl UnsafeUnpin for DynTag

§

impl UnwindSafe for DynTag

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.