1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# segfault-suite A small test framework that catches segmentation faults. ## Dependencies 1. POSIX compliant OS (`fork`, `waitpid`) ## Usage ```C #include "test-lib.h" int badTest() { int* ptr = (int*)0; *ptr = 5; return 0; } int main() { syncTest("badTest", "it segfaulted", badTest); return 0; } ```