Struct disassemble::Function [] [src]

pub struct Function<I: Instruction> {
    pub symbol: Symbol,
    pub instructions: Vec<I>,
    pub control_flow_graph: ControlFlowGraph,
}

A function within a program.

Fields

The symbol for this function. This provides the name and Address.

The instructions that comprise this function.

The control flow graph for this function. This is built from the instructions. It is made up of basic blocks.

Methods

impl<I: Instruction> Function<I>
[src]

[src]

Construct a new function

Trait Implementations

impl<I: Instruction> CallGraphAnalysis<I> for Function<I>
[src]

[src]

Get information about the function calls made.

[src]

Get information about the function calls made within a set of instructions. Read more