nicer way to crash

This commit is contained in:
agroce 2019-04-25 09:41:29 -07:00
parent 671457cb11
commit 4ef19da2dd

View File

@ -249,8 +249,7 @@ DEEPSTATE_INLINE static void DeepState_Assert(int expr) {
/* Used to make DeepState really crash for fuzzers, on any platform. */
DEEPSTATE_INLINE static void DeepState_HardCrash() {
char *p = 0;
(*p) = 0;
raise(SIGABRT);
}
/* Asserts that `expr` must hold. If it does not, then the test fails, but