pub trait TransferFunctions {
    type State: AbstractDomain + Clone;

    const BACKWARD: bool;

    fn execute(
        &self,
        state: &mut Self::State,
        instr: &Bytecode,
        offset: CodeOffset
    ); fn execute_block(
        &self,
        block_id: BlockId,
        state: Self::State,
        instrs: &[Bytecode],
        cfg: &StacklessControlFlowGraph
    ) -> Self::State { ... } }
Expand description

Take a pre-state + instruction and mutate it to produce a post-state。

Required Associated Types

Required Associated Constants

Required Methods

Provided Methods

Implementors