[][src]Struct falcon::loader::ElfLinkerBuilder

pub struct ElfLinkerBuilder { /* fields omitted */ }

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

Get the ElfLinker for this ElfLinkerBuilder

Trait Implementations

impl Clone for ElfLinkerBuilder[src]

impl Debug for ElfLinkerBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.