[][src]Function solana_rbpf::ebpf::hash_symbol_name

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 helper function. The 32 bit id is used in the eBPF call instruction's imm field.