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
symbol: Symbol
instructions: Vec<I>
The instructions that comprise this function.
control_flow_graph: ControlFlowGraph
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]
Trait Implementations
impl<I: Instruction> CallGraphAnalysis<I> for Function<I>[src]
fn identify_call_sites(&self) -> Vec<CallSite>[src]
Get information about the function calls made.
fn identify_call_sites_in_instructions(
&self,
instructions: &[I]
) -> Vec<CallSite>[src]
&self,
instructions: &[I]
) -> Vec<CallSite>
Get information about the function calls made within a set of instructions. Read more