You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
186 B
ArmAsm
13 lines
186 B
ArmAsm
5 years ago
|
# clang e_macOS_64.S -o eeeee && ./eeeee
|
||
|
.globl _main
|
||
|
.text
|
||
|
_main:
|
||
|
pushq $0x65656565
|
||
|
eee:
|
||
|
movq $0x2000004, %rax
|
||
|
movq $1, %rdi
|
||
|
movq %rsp, %rsi
|
||
|
movq $4, %rdx
|
||
|
syscall
|
||
|
jmp eee
|