pub type VCPUTranslationBlockTranslationCallback = qemu_plugin_vcpu_tb_trans_cb_t;
Expand description
A callback that can be called many times, each time a translation occurs. The
callback is passed an opaque qemu_plugin_tb
pointer, which can be queried for
additional information including the list of translated instructions. The callback
can register further callbacks to be triggered when the block or individual
instructions execute.
§Arguments
id
: The plugin IDtb
: The translated block
Aliased Type§
pub enum VCPUTranslationBlockTranslationCallback {
None,
Some(unsafe extern "C" fn(u64, *mut qemu_plugin_tb)),
}