Libsafe only works on 32-bit architectures
- make build: Builds Libsafe, compiles the proof of concept exploit
'thread', and compiles the library interposition code 'interpose.so'.
make random MAX_DELAY=x: Randomizes the interposed delays in 'interpose.so'
with miximum delay MAX_DELAY per interposition.
- bug.sh: Runs the PoC exploit 'thread' in an environment that preloads
Libsafe.
- repeatbug.py: Runs bug.sh 1000 times and reports the number of times that
Libsafe worked properly.
- bug-interpose.sh: Runs the PoC exploit in an environment that preloads
Libsafe as well as the library interposition code 'interpose.so'
- repeatbug-interpose.py: Runs bug-interpose.sh 1000 times and reports the
number of times that Libsafe worked properly.
- gen_interpose.py: Generates interpose.c based off the function prototypes
listed in 'func_names.txt'.