Skip to main content

Module traced

Module traced 

Source
Expand description

Handlers for syscalls that take a ptrace stop: the path (or socket address) is rewritten in the tracee’s memory and the syscall proceeds.

Functions§

handle
Dispatches a seccomp-trace stop to the right handler.
push_cstr
Writes bytes plus a NUL onto the tracee’s stack and returns the address.
rewrite_path_arg
Translates the path in argument index and points it at the host path.
rewrite_path_arg_at
Translates a dirfd-relative path argument and points it at the host path.
rewrite_sockaddr 🔒
Translates the sun_path of an AF_UNIX address in connect/bind.
rewrite_socketcall 🔒
Translates bind/connect issued through the i386 socketcall multiplexer.
translate_sockaddr 🔒
Translates an AF_UNIX address in tracee memory, returning a rewritten copy.