For ELFs loaded in memory matching `regex`, replace function `symbol` with `new_func`. The type `*mut ()` is used in place of Rust function pointer types. If `old_func` is not `None`, the original function pointer will be saved to `old_func`. ## Safety This function is unsafe, since a badly designed hook or misuse of raw pointers may lead to memory unsafety.
(
&self,
regex: &CStr,
symbol: &CStr,
new_func: *mut (),
old_func: Option<&mut *mut ()>,
)
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected