Skip to content

Instantly share code, notes, and snippets.

@warabanshi
Created November 22, 2012 17:41
Show Gist options
  • Save warabanshi/4132337 to your computer and use it in GitHub Desktop.
Save warabanshi/4132337 to your computer and use it in GitHub Desktop.
ELF sample1
int main () { return 42; }
BITS 64
GLOBAL main
SECTION .text
main:
mov rax, 42
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment