end_block_exec

Attribute Macro end_block_exec 

Source
#[end_block_exec]
Expand description

(Callback) Callback ID: PANDA_CB_END_BLOCK_EXEC

   end_block_exec:
    This is like after_block_exec except its part of the TCG stream.

   Arguments:
    CPUState *env:        the current CPU state
    TranslationBlock *tb: the TB we are executing

   Helper call location: cpu-exec.c

   Return value:
    none

Callback arguments: (&mut CPUState, &mut TranslationBlock, )

ยงExample

use panda::prelude::*;

#[panda::end_block_exec]
fn callback(_: &mut CPUState, _: &mut TranslationBlock, ) {
    // do stuff
}