Trait solana_rbpf::elf_parser_glue::ElfSymbol
source · pub trait ElfSymbol: Clone {
// Required methods
fn st_name(&self) -> Elf64Word;
fn st_info(&self) -> u8;
fn st_value(&self) -> Elf64Addr;
// Provided method
fn is_function(&self) -> bool { ... }
}
Expand description
ELF symbol.
Required Methods§
Provided Methods§
sourcefn is_function(&self) -> bool
fn is_function(&self) -> bool
Returns whether the symbol is a function.
Object Safety§
This trait is not object safe.