Skip to main content

call_ifunc_resolver

Function call_ifunc_resolver 

Source
fn call_ifunc_resolver(
    user_as: &AddressSpace,
    resolver_vaddr: u64,
) -> Result<u64, &'static str>
Expand description

Calls a user-space IFUNC resolver function and returns its result.

The resolver is located at resolver_vaddr in the user address space. All RELATIVE relocations for this binary must have been applied first so that the resolver’s own calls/addresses are correct.