logo

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Unnamed repository; edit this file 'description' to name the repository.
commit: 3b1dd060e6af099dadf2209860b1060619d24e0a
parent b9edfd0f2a4ba66dae3b7e12cb2115194a4634dd
Author: iliana weller <ilianaw@buttslol.net>
Date:   Sun,  9 Dec 2018 09:51:59 -0800

Eeeee EE #259 eeee stek29/appleeeeeeS

apleeeeeeeeeeeeeeee.S

Diffstat:

Ae_iOS_arm32.S14++++++++++++++
Ae_iOS_arm64.S14++++++++++++++
Ae_macOS_32.S14++++++++++++++
Ae_macOS_64.S12++++++++++++
4 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/e_iOS_arm32.S b/e_iOS_arm32.S @@ -0,0 +1,14 @@ +# xcrun -sdk iphoneos clang -arch armv7 e_iOS_arm32.S -o e +.align 2 +eeee: + .asciz "eee" +.globl _main +.align 2 +_main: +eeeeeeeeeeeeeeeeeeeeeee: + mov r0, 1 + adr r1, eeee + mov r2, 3 + mov r12, 0x4 + svc 0x80 + b eeeeeeeeeeeeeeeeeeeeeee diff --git a/e_iOS_arm64.S b/e_iOS_arm64.S @@ -0,0 +1,14 @@ +# xcrun -sdk iphoneos clang -arch arm64 e_iOS_arm64.S -o eeee +.align 2 +eeee: + .asciz "eee" +.globl _main +.align 2 +_main: +eeeeeeeeeeeeeeeeeeeeeee: + movz x0, 1 + adr x1, eeee + mov x2, 3 + movz x16, 0x4 + svc 0x80 + b eeeeeeeeeeeeeeeeeeeeeee diff --git a/e_macOS_32.S b/e_macOS_32.S @@ -0,0 +1,14 @@ +# clang -m32 e_macOS_32.S -o eeeeee && ./eeeeee +.globl _main +.text +_main: + pushl $0x65656565 + pushl $4 + lea 4(%esp), %eax + pushl %eax + pushl $1 + pushl $0x7374656b +eee: + movl $4, %eax + int $0x80 + jmp eee diff --git a/e_macOS_64.S b/e_macOS_64.S @@ -0,0 +1,12 @@ +# 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