Function sentry_contrib_native::modules_list
source · [−]Expand description
This will lazily load and cache a list of all the loaded libraries.
Examples
let lib = unsafe { libloading::Library::new("/path/to/liblibrary.so") }?;
clear_modulecache();
assert!(modules_list().contains(&"/path/to/liblibrary.so".to_string()));