Function solana_rbpf::ebpf::hash_symbol_name [−][src]
pub fn hash_symbol_name(name: &[u8]) -> u32
Hash a symbol name
This function is used by both the relocator and the VM to translate symbol names
into a 32 bit id used to identify a syscall function. The 32 bit id is used in the
eBPF call
instruction’s imm field.