C in four functions
Switch branches/tags
Nothing to show
Clone or download
rswier Merge pull request #32 from nubok/patch-2
Avoid undefined behavior - bp is initialized when setting up the stack
Latest commit 3f098f3 Aug 22, 2017
Permalink
Failed to load latest commit information.
LICENSE Initial commit Nov 4, 2014
README.md m32 option Nov 4, 2014
c4.c Avoid undefined behavior - bp is initialized when setting up the stack Aug 21, 2017
hello.c initial Nov 4, 2014

README.md

c4 - C in four functions

An exercise in minimalism.

Try the following:

gcc -o c4 c4.c  (you may need the -m32 option on 64bit machines)
./c4 hello.c
./c4 -s hello.c

./c4 c4.c hello.c
./c4 c4.c c4.c hello.c