From b71450d9fbb6e1d07d83b01d2f2fe4b41c5cdefb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 20 Oct 2017 11:30:59 +0200 Subject: executor: prevent executor from messing with output region When comparisons are enabled fuzzer somehow manages to discover the output region and corrupt it. It seems to fetch the address from some memory operations (mmap/munmap). Don't leak the output region address. --- executor/executor_fuchsia.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'executor/executor_fuchsia.cc') diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc index a93811928..05ded7857 100644 --- a/executor/executor_fuchsia.cc +++ b/executor/executor_fuchsia.cc @@ -61,3 +61,8 @@ uint32_t* write_output(uint32_t v) void write_completed(uint32_t completed) { } + +bool kcov_comparison_t::ignore() const +{ + return false; +} -- cgit mrf-deployment