getitimer_return

Attribute Macro getitimer_return 

Source
#[getitimer_return]
Expand description

(Callback) A callback that runs after the getitimer syscall runs.

Callback arguments: (&mut CPUState,SyscallPc,i32,u64,)

ยงExample

use panda::prelude::*;

#[panda::on_sys::getitimer_enter]
fn callback(_: &mut CPUState, _: SyscallPc, _: i32, _: u64, ) {
    // do stuff
}