Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global main
- main:
- mov rax, 0x02000004 ; SYS_write
- mov rdi, 1 ; filedes = STDOUT_FILENO = 1
- mov rsi, 0xdeadbabe ; Filler value, we postponed the problem of buf
- mov rdx, 0 ; Write zero bytes from this buffer
- syscall
- mov rax, 0x02000001 ; SYS_exit
- mov rdi, 0 ; Process exit value
- syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement