[][src]Attribute Macro panda::after_insn_exec

#[after_insn_exec]

(Callback) Called after execution of an instruction identified by the PANDA_CB_AFTER_INSN_TRANSLATE callback

Callback ID: PANDA_CB_AFTER_INSN_EXEC

   Arguments:
    CPUState *env:   the current CPU state
    target_ptr_t pc: the next guest PC already executed

   Helper call location: TBA

   Return value:
    unused

   Notes:
    See `insn_exec`. Enabled via the PANDA_CB_AFTER_INSN_TRANSLATE callback.

Callback arguments: (&mut CPUState, target_ptr_t, )

Example

use panda::prelude::*;

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