Struct panopticon_core::basic_block::BasicBlock [] [src]

pub struct BasicBlock {
    pub area: Bound,
    pub mnemonics: Vec<Mnemonic>,
}

A basic block: a continiuous sequence of mnemonics without any branches in between.

Fields

Area the basic block occupies in memory.

List of mnemonics in to order of execution.

Methods

impl BasicBlock
[src]

[src]

Returns a new, empty basic block.

[src]

Moves ms into a new basic block. Panics if the mnemonics do not occupy a continuous address range.

[src]

Calls f on all RREIL instructions starting from the last.

[src]

Calls f on all RREIL instructions starting from the first.

[src]

Calls f on all RREIL instructions starting from the first.

[src]

Return a slice of this BasicBlock's mnemonics

[src]

Return a mutable slice of this BasicBlock's mnemonics

[src]

Returns an iterator over every statement in every mnemonic in this basic block

Trait Implementations

impl PartialEq for BasicBlock
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for BasicBlock
[src]

impl Debug for BasicBlock
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for BasicBlock
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more