Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ensure that the clang optimizer does not swallow the segfault I'm expecting
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 1 Apr 2023 22:34:25 +0000 (00:34 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 1 Apr 2023 22:44:25 +0000 (00:44 +0200)
commitb41e6a1f15f499dfd49ec43164fc833ad2ffc04c
treee8778ff7ffac42dbf4a5ee2777fc026522fff153
parentcfa35c4fa9a6bcfa6aa8f8cf21da6ab292ea21ad
Ensure that the clang optimizer does not swallow the segfault I'm expecting

Instead of actually dereferencing the null pointer (which drives the
static analyzers nuts), simply send myself a SIGSEGV.
teshsuite/mc/random-bug/random-bug.cpp