Skip to content
Permalink
48f540e5b7
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (11 sloc) 273 Bytes
.text
.global _start
_start:
ldr r0, target
mov r1, #0x4000 @ should be more than enough space (TODO: calculate based on python shellcode len)
mov r2, #7 @ rwx
mov r7, #125 @ mprotect
swi #0
ldr r0, target
mov pc, r0
target: .word 0xdeadbeef