Skip to content

Instantly share code, notes, and snippets.

@larzconwell
Created November 26, 2013 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larzconwell/7653454 to your computer and use it in GitHub Desktop.
Save larzconwell/7653454 to your computer and use it in GitHub Desktop.
global _start
extern main
section .text
_start:
call main
mov ebx, eax ; EAX HOLDS THE FUCKING RETURN STATUS, OMG
mov eax, 1
int 0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment