Type Alias SyscallCallback

Source
pub type SyscallCallback = qemu_plugin_vcpu_syscall_cb_t;
Expand description

A callback called on Syscall entry

§Arguments

  • id: The plugin ID
  • vcpu_index: The index of the vCPU that executed the instruction
  • num: The syscall number
  • a1: The first syscall argument
  • a2: The second syscall argument
  • a3: The third syscall argument
  • a4: The fourth syscall argument
  • a5: The fifth syscall argument
  • a6: The sixth syscall argument
  • a7: The seventh syscall argument
  • a8: The eighth syscall argument

Aliased Type§

pub enum SyscallCallback {
    None,
    Some(unsafe extern "C" fn(u64, u32, i64, u64, u64, u64, u64, u64, u64, u64, u64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(u64, u32, i64, u64, u64, u64, u64, u64, u64, u64, u64))

Some value of type T.