Hi all, I'd like to use Clang's AddressSanitizer and ThreadSanitizer on my OpenBSD development machine. However, the Clang 10 documentation lists OpenBSD support for only the UndefinedBehaviorSanitizer.
Does anyone know how hard it would be to port them? Are they absent because nobody really cares about them, or is it because of a significant technical challenge to get them on OpenBSD? Also, are there alternatives to these sanitizers? Valgrind? Running clang on another OS in vmm(4)? I tried the valgrind package but it segfaulted immediately when I ran it early last year. ------------------------------------------------------------------------ OS support for sanitizers, as reported by the docs: AddressSanitizer * Android ARM * FreeBSD i386/x86_64 (tested on FreeBSD 11-current) * Linux i386/x86_64 (tested on Ubuntu 12.04) * NetBSD i386/x86_64 * Windows 8.1+ (i386/x86_64) * iOS Simulator * macOS 10.7 - 10.11 (i386/x86_64) ThreadSanitizer * Android aarch64, x86_64 * Darwin arm64, x86_64 * FreeBSD * Linux aarch64, x86_64, powerpc64, powerpc64le * NetBSD MemorySanitizer * FreeBSD * Linux * NetBSD UndefinedBehaviorSanitizer * Android * FreeBSD * Linux * NetBSD * OpenBSD * Windows * macOS

