Is it possible to add an option, possibly hidden behind an #ifdef, where the sanitizer throws a SIGABRT when it discovers a type confusion? This should make it play nice with fuzzers like afl-fuzz.
I managed to patch void printTypeConfusion at src/compiler-rt-files/hextype_report.cc to do this but there probably is a better place to call the abort().
Is it possible to add an option, possibly hidden behind an
#ifdef
, where the sanitizer throws aSIGABRT
when it discovers a type confusion? This should make it play nice with fuzzers likeafl-fuzz
.I managed to patch
void printTypeConfusion
atsrc/compiler-rt-files/hextype_report.cc
to do this but there probably is a better place to call theabort()
.