aboutsummaryrefslogtreecommitdiff
path: root/tests/test.S
blob: df907a61deb76fb98abcb95c5c4cf49445f39720 (plain)
1
2
3
4
5
6
7
8
9
10
11
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