AsmGrader 0.0.0
Loading...
Searching...
No Matches
asmgrader::SyscallRecord Struct Reference

Record of a syscall for use with Tracer to keep track of which syscalls a child process invokes. More...

#include <syscall_record.hpp>

Public Types

using SyscallArg
 An arbitrary syscall argument void* is a catch-all for any pointer type.
 

Public Attributes

u64 num
 
std::vector< SyscallArgargs
 
std::optional< Expected< i64 > > ret
 
u64 instruction_pointer
 
u64 stack_pointer
 

Detailed Description

Record of a syscall for use with Tracer to keep track of which syscalls a child process invokes.

Member Typedef Documentation

◆ SyscallArg

Initial value:
std::variant<i32, i64, u32, u64, Result<std::string>, Result<std::vector<Result<std::string>>>,
Expected< T, ErrorKind > Result
Definition error_types.hpp:22

An arbitrary syscall argument void* is a catch-all for any pointer type.

Member Data Documentation

◆ args

std::vector<SyscallArg> asmgrader::SyscallRecord::args

◆ instruction_pointer

u64 asmgrader::SyscallRecord::instruction_pointer

◆ num

u64 asmgrader::SyscallRecord::num

◆ ret

std::optional<Expected<i64> > asmgrader::SyscallRecord::ret

◆ stack_pointer

u64 asmgrader::SyscallRecord::stack_pointer

The documentation for this struct was generated from the following file: