Home > database >  OpenBSD fails to execute a.out
OpenBSD fails to execute a.out

Time:02-12

I wrote this program that should just exit with exitcode 44:

// prog.S
#include <sys/syscall.h>
        .text
        .globl _start
_start:
        subl $8, %esp
        pushl $44
        pushl $0
        movl $SYS_exit,            
  • Related