radare2/binr/preload/trap-darwin-x86-32.asm

12 lines
125 B
NASM
Raw Normal View History

.os darwin
.arch x86
.bits 32
mov eax, $sys.getpid
sub esp, 4
int 0x80
mov ebx, $sys.kill
xchg eax, ebx
sub esp, 8
int 0x80