Struct disassemble::BasicBlock [] [src]

pub struct BasicBlock<'f> {
    pub name: Option<String>,
    pub address: Address,
    pub instructions: Vec<&'f Instruction>,
}

A basic block is a sequence of instructions with no inward-bound branches except to the entry point and no outward-bound branches except at the exit.

Fields

name

The name of the basic block. Not all blocks have meaningful names.

address

The address of the first instruction in the basic block.

instructions

The instructions within this basic block.

Methods

impl<'f> BasicBlock<'f>

fn new(address: Address) -> Self

Construct a new BasicBlock.

Trait Implementations

Derived Implementations

impl<'f> Debug for BasicBlock<'f>

fn fmt(&self, __arg_0: &mut Formatter) -> Result