diff options
author | Max Moroz <mmoroz@chromium.org> | 2019-04-11 16:24:53 +0000 |
---|---|---|
committer | Max Moroz <mmoroz@chromium.org> | 2019-04-11 16:24:53 +0000 |
commit | 9d5e7ee296651acc1e00ffbe0844532a78725e82 (patch) | |
tree | f0034bbb418522989262de414c2ab3e7230ca1a5 /libunwind/src | |
parent | 7c142fcc06850c7cee3cdb07e98cc57f04ee5e8b (diff) | |
download | bcm5719-llvm-9d5e7ee296651acc1e00ffbe0844532a78725e82.tar.gz bcm5719-llvm-9d5e7ee296651acc1e00ffbe0844532a78725e82.zip |
[libFuzzer] Fallback to default Mutate when MutateWithMask fails.
Summary:
In case the current corpus input doesn't have bytes going into the
focus function, MutateWithMask is useless and may fail gently, allowing the
default mutation routine happen, rather than crashing on an assertion.
For more context and the initial fix suggestion, see:
https://github.com/google/oss-fuzz/issues/1632#issuecomment-481862879
Reviewers: kcc, morehouse
Reviewed By: kcc
Subscribers: delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D60567
llvm-svn: 358190
Diffstat (limited to 'libunwind/src')
0 files changed, 0 insertions, 0 deletions