[compiler-rt] [compiler-rt][libFuzzer] Add support for capturing SIGTRAP exits. (PR #149120)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 22:30:56 PDT 2025


================
@@ -9,6 +9,9 @@
 #include <cstdlib>
 #include <iostream>
 #include <ostream>
+#ifdef SIGTRAP_TEST
+#  include <signal.h>
+#endif
----------------
thetruestblue wrote:

I am not super familiar with patterns for fuzzer testing. But is there a reason we're injecting the test here rather than a stand alone file?

https://github.com/llvm/llvm-project/pull/149120


More information about the llvm-commits mailing list