pub fn hash_symbol_name(name: &[u8]) -> u32
Expand description

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.