diff options
Diffstat (limited to 'tests/test.S')
-rw-r--r-- | tests/test.S | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test.S b/tests/test.S new file mode 100644 index 0000000..df907a6 --- /dev/null +++ b/tests/test.S @@ -0,0 +1,12 @@ +#include <sys/sycall.h> + + .text + .globl _start +_start: + nop /* Debug start (step-in here) */ + movq $0xDEADBEEF, %rdx + nop /* Debug end, exit start (step-out here) */ + movq $SYS_EXIT, %rax + xor %rdi, %rdi + syscall + ud2 |