> UBSan can be combined with ASan and TSan. > > The way to go is to link UBSan into ASan/TSan/etc. > > I'm doing this in LLVM ones here: > http://netbsd.org/~kamil/llvm/llvm-sanitizers-patch1.txt > > Additionally ASan should link LSan code. > > We apparently want more tests in ATF verifying *San + UBSan used > concurrently.
the code in GCC 7 explicitly sets the CAN_SANITIZE_UB how i've done it in our reach over makefiles. i'm at first only interested in making things work as they are expected to upstream (which in this case, is gcc, not their upstream :-). you or someone else are welcome to advance this state again, but i'm unlikely to look at it. thanks. .mrg.