diff options
author | Mattias Andrée <maandree@kth.se> | 2020-06-02 14:44:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-06-02 14:44:08 +0200 |
commit | 7198c7b9f01bbd5e8f8528440d290569e588b260 (patch) | |
tree | c4bbeb956b37965d589ffe3c0b4dbde94e0ccaca /arch-x86-64.h | |
parent | Reject i386 and x32 applications (not yet supported) (diff) | |
download | sctrace-7198c7b9f01bbd5e8f8528440d290569e588b260.tar.gz sctrace-7198c7b9f01bbd5e8f8528440d290569e588b260.tar.bz2 sctrace-7198c7b9f01bbd5e8f8528440d290569e588b260.tar.xz |
Some cleanup and preparation for support for multiple architectures (both host and client) and OSes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | arch-x86-64.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch-x86-64.h b/arch-x86-64.h deleted file mode 100644 index 044b73f..0000000 --- a/arch-x86-64.h +++ /dev/null @@ -1,29 +0,0 @@ -struct i386_user_regs_struct -{ - uint32_t ebx; - uint32_t ecx; - uint32_t edx; - uint32_t esi; - uint32_t edi; - uint32_t ebp; - uint32_t eax; - uint32_t xds; - uint32_t xes; - uint32_t xfs; - uint32_t xgs; - uint32_t orig_eax; - uint32_t eip; - uint32_t xcs; - uint32_t eflags; - uint32_t esp; - uint32_t xss; -}; - -#define SYSCALL_NUM_REG orig_rax -#define SYSCALL_ARG1_REG rdi -#define SYSCALL_ARG2_REG rsi -#define SYSCALL_ARG3_REG rdx -#define SYSCALL_ARG4_REG r10 -#define SYSCALL_ARG5_REG r8 -#define SYSCALL_ARG6_REG r9 -#define SYSCALL_RET_REG rax |