[−][src]Struct falcon::loader::ElfLinkerBuilder
A helper to build an ElfLinker using the builder pattern.
Methods
impl ElfLinkerBuilder
[src]
pub fn new(filename: PathBuf) -> ElfLinkerBuilder
[src]
Create a new ElfLinker
pub fn do_relocations(self, do_relocations: bool) -> Self
[src]
This ElfLinker should perform relocations (default true)
pub fn just_interpreter(self, just_interpreter: bool) -> Self
[src]
This ElfLinker should only link in the program interpreter, specified by DT_INTERPRETER (default false)
pub fn ld_paths<P: Into<PathBuf>>(self, ld_paths: Option<Vec<P>>) -> Self
[src]
Set the paths where the ElfLinker should look for shared objects and depenedncies
pub fn link(self) -> Result<ElfLinker>
[src]
Get the ElfLinker for this ElfLinkerBuilder
Trait Implementations
impl Clone for ElfLinkerBuilder
[src]
fn clone(&self) -> ElfLinkerBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ElfLinkerBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ElfLinkerBuilder
impl Send for ElfLinkerBuilder
impl Sync for ElfLinkerBuilder
impl Unpin for ElfLinkerBuilder
impl UnwindSafe for ElfLinkerBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,