timerfd_create_enter

Attribute Macro timerfd_create_enter 

Source
#[timerfd_create_enter]
Expand description

(Callback) A callback that runs before the timerfd_create syscall runs.

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

ยงExample

use panda::prelude::*;

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