We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189de73 commit 8ec819fCopy full SHA for 8ec819f
src/shims/native_lib/trace/parent.rs
@@ -314,6 +314,11 @@ pub fn sv_loop(
314
// Child entered or exited a syscall.
315
ExecEvent::Syscall(pid) => {
316
let regs = ptrace::getregs(pid).unwrap();
317
+ #[cfg(target_arch = "x86")]
318
+ {
319
+ dbg!(regs.syscall_nr());
320
+ dbg!(®s);
321
+ }
322
let evts = match regs.syscall_nr() {
323
libc::SYS_mmap => handle_mmap(pid, page_size)?,
324
libc::SYS_munmap => handle_munmap(pid, page_size)?,
0 commit comments