Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "[libFuzzer] XFAIL fuzzer-oom.test on Darwin." | Ahmed Bougacha | 2017-04-20 | 1 | -1/+0 | |
| | | | | | | | | This reverts commit r300127. r300759 implemented StopTheWorld for Darwin, so the test passes again. llvm-svn: 300801 | |||||
* | [libFuzzer] extend help for -minimize_crash to cover ↵ | Kostya Serebryany | 2017-04-19 | 1 | -0/+2 | |
| | | | | | | ASAN_OPTIONS=dedup_token_length=3 llvm-svn: 300800 | |||||
* | Revert r300789: There are Windows bot failures. | Kuba Mracek | 2017-04-19 | 1 | -20/+14 | |
| | | | | llvm-svn: 300794 | |||||
* | [libFuzzer] Always build libFuzzer | Kuba Mracek | 2017-04-19 | 1 | -14/+20 | |
| | | | | | | | | | | | | | There are two reasons why users might want to build libfuzzer: - To fuzz LLVM itself - To get the libFuzzer.a archive file, so that they can attach it to their code This change always builds libfuzzer, and supports the second use case if the specified flag is set. The point of this patch is to have something that can potentially be shipped with the compiler, and this also ensures that the version of libFuzzer is correct to use with that compiler. Differential Revision: https://reviews.llvm.org/D32096 llvm-svn: 300789 | |||||
* | [libFuzzer] remove -output_csv option. It duplicates the default output and ↵ | Kostya Serebryany | 2017-04-19 | 4 | -14/+1 | |
| | | | | | | got out of sync llvm-svn: 300768 | |||||
* | [libFuzzer] update -help: mention -exact_artifact_path in help for ↵ | Kostya Serebryany | 2017-04-19 | 1 | -2/+6 | |
| | | | | | | -minimize_crash and -cleanse_crash llvm-svn: 300642 | |||||
* | [libFuzzer] experimental option -cleanse_crash: tries to replace all bytes ↵ | Kostya Serebryany | 2017-04-17 | 5 | -0/+85 | |
| | | | | | | in a crash reproducer with garbage, while still preserving the crash llvm-svn: 300498 | |||||
* | [libFuzzer] XFAIL fuzzer-oom.test on Darwin. | Akira Hatanaka | 2017-04-12 | 1 | -0/+1 | |
| | | | | | | | | | | | | | The test fails on Darwin because Fuzzer::DeathCallback (which calls DumpCurrentUnit("crash-")) is called before DumpCurrentUnit("oom-") is called in Fuzzer::RssLimitCallback. DeathCallback is transitively called from __sanitizer_print_memory_profile. This should fix the fuzzer bot that has been failing for a while: http://lab.llvm.org:8080/green/job/libFuzzer/ llvm-svn: 300127 | |||||
* | [libFuzzer] fix type in signal name. | Vitaly Buka | 2017-04-11 | 1 | -1/+1 | |
| | | | | | | | | Fixes PR32576. Patch by Jakub Zawadzki. llvm-svn: 299968 | |||||
* | [Fuzzer] Flush std::cout before aborting in CxxStringEqTest | Reid Kleckner | 2017-04-03 | 1 | -0/+1 | |
| | | | | | | | On Windows, abort() does not appear to flush std::cout. Should fix red sanitizer-windows bot. llvm-svn: 299398 | |||||
* | [libFuzzer] simplify the code a bit | Kostya Serebryany | 2017-03-31 | 3 | -17/+14 | |
| | | | | llvm-svn: 299180 | |||||
* | [libFuzzer] tests: don't test 64-bit comparison on 32-bit builds | Kostya Serebryany | 2017-03-31 | 2 | -5/+7 | |
| | | | | llvm-svn: 299179 | |||||
* | [libFuzzer] ensure that strncmp is not inlined in a test | Kostya Serebryany | 2017-03-31 | 1 | -1/+2 | |
| | | | | llvm-svn: 299177 | |||||
* | [libFuzzer] make sure we don't execute libFuzzer's mem* and str* hooks while ↵ | Kostya Serebryany | 2017-03-31 | 5 | -9/+17 | |
| | | | | | | calling mem*/str* inside libFuzzer itself llvm-svn: 299167 | |||||
* | [libFuzzer] try to fix value-profile-strncmp on the Mac bot | Kostya Serebryany | 2017-03-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 299145 | |||||
* | [libFuzzer] remove a stale flag from tests, run value-profile-strncmp.test ↵ | Kostya Serebryany | 2017-03-30 | 4 | -4/+4 | |
| | | | | | | longer (hopefully, will fix the OSX bot) llvm-svn: 299051 | |||||
* | [libFuzzer] best effort support for -fsanitize-coverage=trace-pc ↵ | Kostya Serebryany | 2017-03-30 | 5 | -1/+32 | |
| | | | | | | instrumentation. It is less efficient and precise than -fsanitize-coverage=trace-pc-guard, but still works llvm-svn: 299046 | |||||
* | [libfuzzer] Remove XFAIL for OutOfMemory test. | Juergen Ributzka | 2017-03-27 | 1 | -1/+0 | |
| | | | | | | | | This test is now passing on Darwin. See rdar://problem/31282257. llvm-svn: 298886 | |||||
* | [libFuzzer] Fix test on Windows. | Vitaly Buka | 2017-03-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 298757 | |||||
* | [libFuzzer] read asan's dedup_token while minimizing a crash and stop ↵ | Kostya Serebryany | 2017-03-25 | 2 | -4/+53 | |
| | | | | | | minimization if another bug was found during minimization (https://github.com/google/oss-fuzz/issues/452) llvm-svn: 298755 | |||||
* | [libFuzzer] be more careful when calling strlen of strcmp parameters, PR32357 | Kostya Serebryany | 2017-03-24 | 4 | -3/+30 | |
| | | | | llvm-svn: 298746 | |||||
* | [libFuzzer] honor -exact_artifact_path for all intermediate files during ↵ | Kostya Serebryany | 2017-03-24 | 2 | -3/+6 | |
| | | | | | | crash minimization (https://github.com/google/oss-fuzz/issues/250) llvm-svn: 298740 | |||||
* | [libFuzzer] split two tests to get more parallelism in test runs | Kostya Serebryany | 2017-03-24 | 4 | -12/+13 | |
| | | | | llvm-svn: 298673 | |||||
* | [libFuzzer] increase kFeatureSetSize to 2^21 and make InputCorpus scale to ↵ | Kostya Serebryany | 2017-03-24 | 2 | -12/+11 | |
| | | | | | | that size. This will potentially make libFuzzer more sensitive on targets with lots of signals llvm-svn: 298671 | |||||
* | [libFuzzer] fix non-linux build | Kostya Serebryany | 2017-03-23 | 1 | -0/+2 | |
| | | | | llvm-svn: 298666 | |||||
* | [libFuzzer] create experimental support for user-provided coverage signal | Kostya Serebryany | 2017-03-23 | 9 | -28/+169 | |
| | | | | llvm-svn: 298654 | |||||
* | [libFuzzer] add two experimental flags to make corpus merging more scalable: ↵ | Kostya Serebryany | 2017-03-22 | 7 | -7/+109 | |
| | | | | | | -save_coverage_summary/-load_coverage_summary. This is still WIP, the documentation will come later if these flags survive llvm-svn: 298548 | |||||
* | [libFuzzer] inline the code of __sanitizer_cov_trace_pc_guard into it | Kostya Serebryany | 2017-03-17 | 2 | -9/+3 | |
| | | | | llvm-svn: 298032 | |||||
* | [libFuzzer] Experimenting with dictionary minimization. | Kostya Serebryany | 2017-03-17 | 2 | -0/+82 | |
| | | | | | | | | | | | | | | Summary: Tracking issue: https://github.com/google/oss-fuzz/issues/331 Reviewers: kcc Reviewed By: kcc Differential Revision: https://reviews.llvm.org/D30940 llvm-svn: 298031 | |||||
* | [libFuzzer] add a test with two different bugs | Kostya Serebryany | 2017-03-17 | 2 | -0/+23 | |
| | | | | llvm-svn: 298030 | |||||
* | [libFuzzer] add a dummy LLVMFuzzerMutate to afl/afl_driver.cpp ↵ | Kostya Serebryany | 2017-03-15 | 1 | -0/+7 | |
| | | | | | | (https://github.com/google/oss-fuzz/issues/460) llvm-svn: 297919 | |||||
* | [libFuzzer] call __sanitizer_print_memory_profile with two params | Kostya Serebryany | 2017-03-15 | 2 | -2/+2 | |
| | | | | llvm-svn: 297916 | |||||
* | Revert "[libFuzzer] Use ChooseUnitIdxToMutate to pick item for crossover." | Vitaly Buka | 2017-03-15 | 2 | -3/+3 | |
| | | | | | | | | Fails LLVMFuzzer.LLVMFuzzer.value-profile-strncmp.test. This reverts commit r297891. llvm-svn: 297912 | |||||
* | [libFuzzer] Use ChooseUnitIdxToMutate to pick item for crossover. | Vitaly Buka | 2017-03-15 | 2 | -3/+3 | |
| | | | | | | Differential Revision: https://reviews.llvm.org/D30683 llvm-svn: 297891 | |||||
* | [libFuzzer] remove even more stale code | Kostya Serebryany | 2017-03-15 | 2 | -18/+0 | |
| | | | | llvm-svn: 297797 | |||||
* | [libFuzzer] simplify code a bit | Kostya Serebryany | 2017-03-15 | 2 | -20/+2 | |
| | | | | llvm-svn: 297796 | |||||
* | [libFuzzer] remove more stale code | Kostya Serebryany | 2017-03-14 | 4 | -83/+4 | |
| | | | | llvm-svn: 297785 | |||||
* | [libFuzzer] don't clear Counters in TracePC::CollectFeatures since they will ↵ | Kostya Serebryany | 2017-03-14 | 2 | -4/+3 | |
| | | | | | | be cleared anyway in ResetMaps llvm-svn: 297783 | |||||
* | [libFuzzer] remove stale code | Kostya Serebryany | 2017-03-14 | 3 | -42/+4 | |
| | | | | llvm-svn: 297781 | |||||
* | [libFuzzer] Reorder includes in test | Vitaly Buka | 2017-03-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 297692 | |||||
* | [libFuzzer] Fix compilation of CustomCrossOverAndMutateTest on Windows | Vitaly Buka | 2017-03-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 297690 | |||||
* | [libFuzzer] add more iterations to LLVMFuzzer-Memcmp64BytesTest | Kostya Serebryany | 2017-03-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 297554 | |||||
* | [libFuzzer] reduce the number of vector resizes during merge ↵ | Kostya Serebryany | 2017-03-11 | 1 | -6/+7 | |
| | | | | | | (https://github.com/google/oss-fuzz/issues/445) llvm-svn: 297551 | |||||
* | [libFuzzer] print how much memory is consumed by the outer merge process ↵ | Kostya Serebryany | 2017-03-11 | 2 | -2/+12 | |
| | | | | | | (https://github.com/google/oss-fuzz/issues/445) llvm-svn: 297546 | |||||
* | [libFuzzer] add test/LargeTest.cpp, mostly for manual experiments with large ↵ | Kostya Serebryany | 2017-03-11 | 1 | -0/+37 | |
| | | | | | | number of edges, not yet suitable for unit testing llvm-svn: 297544 | |||||
* | [libFuzzer] remove fuzzer-jobs.test which is flaky and not very useful | Kostya Serebryany | 2017-03-11 | 1 | -31/+0 | |
| | | | | llvm-svn: 297543 | |||||
* | [fuzzer] Don't crash if LLVMFuzzerMutate was called by CustomCrossOver | Vitaly Buka | 2017-03-07 | 5 | -2/+40 | |
| | | | | | | | | | | Reviewers: kcc Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D30682 llvm-svn: 297202 | |||||
* | Un-XFAIL Fuzzer/test/dump_coverage.test. This now passes on Darwin (after ↵ | Kuba Mracek | 2017-03-07 | 1 | -2/+0 | |
| | | | | | | r297094). llvm-svn: 297110 | |||||
* | [libfuzzer] do not use xargs for shell expansion | Mike Aizatsky | 2017-03-06 | 1 | -1/+1 | |
| | | | | | | | | | Summary: After https://reviews.llvm.org/rL296904 xargs shouldn't be necesssary. Differential Revision: https://reviews.llvm.org/D30371 llvm-svn: 297094 | |||||
* | un-Xfail Fuzzer test that decided to pass on Green Dragon | Mehdi Amini | 2017-03-03 | 1 | -1/+0 | |
| | | | | | | It may be flacky, I'll turn it into unsupported if it fails again. llvm-svn: 296913 |