summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerLoop.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerLoop.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerLoop.cpp b/llvm/lib/Fuzzer/FuzzerLoop.cpp
index 2bae76195e7..3492f7f5b27 100644
--- a/llvm/lib/Fuzzer/FuzzerLoop.cpp
+++ b/llvm/lib/Fuzzer/FuzzerLoop.cpp
@@ -92,6 +92,7 @@ void Fuzzer::DumpCurrentUnit(const char *Prefix) {
{CurrentUnitData, CurrentUnitData + CurrentUnitSize}, Prefix);
}
+__attribute__((no_sanitize_memory))
void Fuzzer::DeathCallback() {
if (!CurrentUnitSize) return;
Printf("DEATH:\n");
@@ -133,6 +134,7 @@ void Fuzzer::InterruptCallback() {
_Exit(0); // Stop right now, don't perform any at-exit actions.
}
+__attribute__((no_sanitize_memory))
void Fuzzer::AlarmCallback() {
assert(Options.UnitTimeoutSec > 0);
if (!CurrentUnitSize)
OpenPOWER on IntegriCloud