Stack clash coroutine demonstration
C Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
UNLICENSE
iterator.c
iterator_sem.c
iterator_setjmp.c
iterator_ucp.c
main.c
tree.c
tree.h

README.md

Stack Clash Coroutine Demonstration

Full article: Stack Clashing for Fun and Profit

Instructions

You'll need a C99 compiler and your favorite make:

$ make -k

If there's no compiler named c99 on your system:

$ make -k CC=clang
$ make -k CC='gcc -std=c99'

If your system doesn't support the <ucontext.h> XSI extension then one of the binaries will fail to build, which is why the -k option is useful.