qira/pin/strace/syscalls.h
2014-08-20 14:26:53 -07:00

15 lines
190 B
C

#define SYSCALL_MAXARGS 6
enum argtype {
ARG_INT,
ARG_PTR,
ARG_STR,
ARG_UNKNOWN
};
struct syscall_entry {
const char *name;
int nargs;
enum argtype args[SYSCALL_MAXARGS];
};