test: Add userspace tests
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// SPDX-License-Identifier: ISC
|
||||
|
||||
.intel_syntax noprefix
|
||||
.text
|
||||
|
||||
.globl _start
|
||||
.type _start, @function
|
||||
_start:
|
||||
xor ebp, ebp
|
||||
and rsp, -16
|
||||
call main
|
||||
mov edi, eax
|
||||
xor eax, eax
|
||||
syscall
|
||||
ud2
|
||||
.size _start, . - _start
|
||||
|
||||
.section .note.GNU-stack, "", @progbits
|
||||
Reference in New Issue
Block a user