pub struct DynamicLoader { /* private fields */ }
Expand description
Dynamic loader.
Resolved ELF dependencies without loading and executing the files.
Implementations§
Source§impl DynamicLoader
impl DynamicLoader
Sourcepub fn options() -> LoaderOptions
pub fn options() -> LoaderOptions
Get default loader options.
Sourcepub fn resolve_dependencies<P: Into<PathBuf>>(
&self,
file: P,
tree: &mut DependencyTree,
) -> Result<Vec<PathBuf>, Error>
pub fn resolve_dependencies<P: Into<PathBuf>>( &self, file: P, tree: &mut DependencyTree, ) -> Result<Vec<PathBuf>, Error>
Find immediate dependencies of the ELF file
.
To find all dependencies, recursively pass each returned path to this method again.
Auto Trait Implementations§
impl Freeze for DynamicLoader
impl RefUnwindSafe for DynamicLoader
impl Send for DynamicLoader
impl Sync for DynamicLoader
impl Unpin for DynamicLoader
impl UnwindSafe for DynamicLoader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more