Function sentry_contrib_native::modules_list [−][src]
#[must_use] pub fn modules_list() -> Vec<String>
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()));