download / changelog / in the wild / documentation

This file contains several horrible hacks to make it easier to write tests for student code. I’ve collected together many interesting bits of cruft along the way.


where you’ve seen it



Floating-point equality

Symbol existence

AddressSanitizer shims

If we’re running with the Address Sanitizer, we can use its exposed interface to do memory checks. Wrap the useful bits of ASan in a slightly more pleasant and less ifdef-heavy interface.

For more details, see <sanitizer/asan_interface.h>. (llvm/projects/compiler-rt/include/sanitizer/asan_interface.h)