sendmsg_enter

Attribute Macro sendmsg_enter 

Source
#[sendmsg_enter]
Expand description

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

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

ยงExample

use panda::prelude::*;

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