x0reaxeax / tiny_helloworld

Tiniest "Hello World" ELF executable in C - 113 bytes (i386), 150 bytes (x86_64)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiny "Hello World"

Smallest "Hello World" ELF executable I was able to produce without the use of any external assembler.

Tools used

C compiler: Tiny C Compiler
Linker: GNU Linker
Object stripper: ELFkickers' sstrip

Building

i386: make main32
x86_64: make main64

Results

ELF_i386: 113 bytes
ELF_x86_64: 150 bytes

Written with StackEdit.

About

Tiniest "Hello World" ELF executable in C - 113 bytes (i386), 150 bytes (x86_64)


Languages

Language:C 46.6%Language:Makefile 30.5%Language:Assembly 22.9%