Struct falcon::loader::ElfLinker [] [src]

pub struct ElfLinker { /* fields omitted */ }

Loader which links together multiple Elf files. Currently only X86 supported.

Methods

impl ElfLinker
[src]

[src]

Takes a path to an Elf and loads the Elf, its dependencies, and links them together.

[src]

Takes the path to an Elf, and a base address the Elf should be loaded at. Loads the Elf, all it's dependencies (DT_NEEDED), and then handles the supported relocations.

[src]

Inform the linker of a function at the given address.

This function will be added to calls to function_entries and will be automatically lifted when calling to_program.

Trait Implementations

impl Clone for ElfLinker
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ElfLinker
[src]

[src]

Formats the value using the given formatter.

impl Loader for ElfLinker
[src]

[src]

Get a model of the memory contained in the binary

[src]

Get addresses for known function entries

[src]

The address program execution should begin at

[src]

Get the architecture of the binary

[src]

Lift just one function from the executable

[src]

Lift executable into an il::Program