Handle a SIGSEGV by having the main loop load from a dummy
authorMatt Mullins <mmullins@mmlx.us>
Sat, 21 Sep 2013 22:59:41 +0000 (22:59 +0000)
committerMatt Mullins <mmullins@mmlx.us>
Sat, 21 Sep 2013 23:02:35 +0000 (23:02 +0000)
commitccbaa3e1b09afae32e5ec9c5a6e4325a8e5b5c6a
tree02f7a5c0b366aa821f99c483f590209780a3752b
parent23f78c21c5101d0ba40c8552d895a5fb72cdd05a
Handle a SIGSEGV by having the main loop load from a dummy

This is by far the dirtiest signal handler I've ever written.  I can't believe
glibc gives me access to the registers so darn easily.
mmap_everything.c