ubpf_set_pointer_secret

Function ubpf_set_pointer_secret 

Source
pub unsafe extern "C" fn ubpf_set_pointer_secret(
    vm: *mut ubpf_vm,
    secret: u64,
) -> c_int
Expand description

@brief Optional secret to improve ROP protection.

@param[in] vm The VM to set the secret for. @param[in] secret Optional secret to improve ROP protection. Returns 0 on success, -1 on error (e.g. if the secret is set after the instructions are loaded).