#[unsafe(no_mangle)]pub unsafe extern "C" fn blaze_normalize_user_addrs(
normalizer: *const blaze_normalizer,
pid: u32,
addrs: *const Addr,
addr_cnt: usize,
) -> *mut blaze_normalized_user_outputExpand description
Normalize a list of user space addresses.
C ABI compatible version of Normalizer::normalize_user_addrs.
pid should describe the PID of the process to which the addresses
belongs. It may be 0 if they belong to the calling process.
On success, the function creates a new blaze_normalized_user_output
object and returns it. The resulting object should be released using
blaze_user_output_free once it is no longer needed.
On error, the function returns NULL and sets the thread’s last error to
indicate the problem encountered. Use blaze_err_last to retrieve this
error.
§Safety
addrsneeds to be a valid pointer toaddr_cntaddresses