summaryrefslogtreecommitdiff
path: root/compiler-rt/test/fuzzer/SimpleCmpTest.cpp
AgeCommit message (Collapse)Author
2020-08-24[libFuzzer] Make msan.test:SimpleCmpTest succeed with less trials.Dokyung Song
Currently SimpleCmpTest passes after 9,831,994 trials on x86_64/Linux when the number of given trials is 10,000,000, just a little bigger than that. This patch modifies SimpleCmpTest.cpp so that the test passes with less trials, reducing its chances of future failures as libFuzzer evolves. More specifically, this patch changes a 32-bit equality check to a 8-bit equality check, making this test pass at 4,635,303 trials. Differential Revision: https://reviews.llvm.org/D86382
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth
to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
2018-03-23[libFuzzer] Use OptForFuzzing attribute with -fsanitize=fuzzer.Matt Morehouse
Summary: Disables certain CMP optimizations to improve fuzzing signal under -O1 and -O2. Switches all fuzzer tests to -O2 except for a few leak tests where the leak is optimized out under -O2. Reviewers: kcc, vitalybuka Reviewed By: vitalybuka Subscribers: cfe-commits, llvm-commits Differential Revision: https://reviews.llvm.org/D44798 llvm-svn: 328384
2017-08-21Move libFuzzer to compiler_rt.George Karpenkov
Resulting library binaries will be named libclang_rt.fuzzer*, and will be placed in Clang toolchain, allowing redistribution. Differential Revision: https://reviews.llvm.org/D36908 llvm-svn: 311407