pub fn resolve_func_addr<S: AsRef<str>>(
    library: Option<S>,
    symbol: S
) -> Result<Address, Error>
Expand description

Search for the address of a function by the specified symbol

library: lib name(Or None)

symbol: symbol name(sugg. Try readelf -s /path/to/elf)

It’s safe to resolve a address by smybol, though hook is unsafe

Errors

Func not found