pub struct Resolved {
pub interpreter: Option<PathBuf>,
pub libs: Vec<PathBuf>,
pub missing: Vec<String>,
pub interpreter_literal: Option<PathBuf>,
pub found: Vec<(PathBuf, PathBuf)>,
}Expand description
What an executable needs from the filesystem to start.
Fields§
§interpreter: Option<PathBuf>PT_INTERP, canonicalized (absent for static binaries).
libs: Vec<PathBuf>Shared libraries (canonical paths), in discovery order.
missing: Vec<String>DT_NEEDED names that could not be found.
interpreter_literal: Option<PathBuf>PT_INTERP exactly as written in the file (what the kernel will open).
found: Vec<(PathBuf, PathBuf)>Each library as found: the path where its DT_NEEDED name was found (so its file name
is the name the loader looks for), and the canonical file. Used by cant pack.
Trait Implementations§
impl Eq for Resolved
impl StructuralPartialEq for Resolved
Auto Trait Implementations§
impl Forget for Resolved
impl Freeze for Resolved
impl Move for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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