From dacaeadb6a81af8a6621ccaeb59c036d72c6c062 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 31 Jul 2016 19:03:52 +0100 Subject: [PATCH] Raise SIGTRAP on non-Windows --- tests/arm/fuzz_arm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/arm/fuzz_arm.cpp b/tests/arm/fuzz_arm.cpp index 88823bde..d5aa9248 100644 --- a/tests/arm/fuzz_arm.cpp +++ b/tests/arm/fuzz_arm.cpp @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -236,6 +237,8 @@ void FuzzJitArm(const size_t instruction_count, const size_t instructions_to_exe #ifdef _MSC_VER __debugbreak(); +#else + raise(SIGTRAP); #endif FAIL(); }