pub trait ElfRelocation: Clone {
    // Required methods
    fn r_offset(&self) -> Elf64Addr;
    fn r_type(&self) -> Elf64Word;
    fn r_sym(&self) -> Elf64Word;
}
Expand description

ELF relocation.

Required Methods§

source

fn r_offset(&self) -> Elf64Addr

Returns the offset where to apply the relocation.

source

fn r_type(&self) -> Elf64Word

Returns the relocation type.

source

fn r_sym(&self) -> Elf64Word

Returns the symbol index.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ElfRelocation for Reloc

Implementors§