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 Resolvedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(PathBuf, PathBuf)>: Freeze,
impl Move for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolvedwhere
RawVecInner: Send,
impl Sync for Resolvedwhere
RawVecInner: Sync,
impl Unpin for Resolved
impl UnsafeUnpin for Resolvedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(PathBuf, PathBuf)>: UnsafeUnpin,
impl UnwindSafe for Resolvedwhere
RawVecInner: UnwindSafe,
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