shadow_rs::utility::macros

Struct SyscallLogger

source
pub struct SyscallLogger;
Expand description

Implements logging functions that were generated by the log_syscall macro.

Implementations§

source§

impl SyscallLogger

source

pub fn clone( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn clone3( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fork( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn vfork( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn gettid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn capget( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn capset( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn close_range( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn epoll_create( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn epoll_create1( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn epoll_ctl( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn epoll_wait( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn epoll_pwait( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn epoll_pwait2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn eventfd( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn eventfd2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fcntl( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn open( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn creat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fadvise64( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fallocate( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fchmod( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fchown( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fdatasync( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fgetxattr( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn flistxattr( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn flock( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fremovexattr( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fsetxattr( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fsync( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn ftruncate( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getdents( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getdents64( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn lseek( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn readahead( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sync_file_range( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn syncfs( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn openat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn faccessat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fchmodat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fchmodat2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fchownat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn futimesat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn linkat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn mkdirat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn mknodat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn readlinkat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn renameat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn renameat2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn symlinkat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn unlinkat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn utimensat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn futex( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn get_robust_list( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn set_robust_list( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn ioctl( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn brk( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn mremap( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn munmap( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn mprotect( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn mmap( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn poll( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn ppoll( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn prctl( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getrandom( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn prlimit64( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sched_getaffinity( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sched_setaffinity( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn rseq( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn select( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pselect6( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn shadow_yield( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn shadow_init_memory_manager( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn shadow_hostname_to_addr_ipv4( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn kill( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn tkill( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn tgkill( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn rt_sigaction( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn rt_sigprocmask( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sigaltstack( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn socket( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn bind( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sendto( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sendmsg( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn recvfrom( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn recvmsg( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getsockname( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getpeername( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn listen( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn accept( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn accept4( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn connect( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn shutdown( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn socketpair( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getsockopt( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn setsockopt( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn statx( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fstat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn fstatfs( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn newfstatat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn sysinfo( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getitimer( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn setitimer( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn alarm( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn clock_getres( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn clock_nanosleep( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn nanosleep( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn timerfd_create( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn timerfd_gettime( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn timerfd_settime( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn readv( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn preadv( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn preadv2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn writev( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pwritev( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pwritev2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn close( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn dup( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn dup2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn dup3( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn read( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pread64( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn write( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pwrite64( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pipe( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn pipe2( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getpid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getppid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getpgrp( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getpgid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn setpgid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn getsid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn setsid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn execve( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn execveat( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn exit_group( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn set_tid_address( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn uname( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn chdir( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn wait4( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

source§

impl SyscallLogger

source

pub fn waitid( writer: impl Write, args: [SyscallReg; 6], rv: &SyscallResult, fmt: FmtOptions, tid: ThreadId, mem: &MemoryManager, ) -> Result<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<T> NoTypeInference for T

source§

type This = T

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
source§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V