Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [libFuzzer] simplify the code in TracePC::HandleTrace | Kostya Serebryany | 2016-10-25 | 1 | -1/+0 | |
| | | | | llvm-svn: 285142 | |||||
* | [libFuzzer] simplify the code for use_cmp, also use the position hint when ↵ | Kostya Serebryany | 2016-10-25 | 1 | -5/+0 | |
| | | | | | | available, add a test llvm-svn: 285049 | |||||
* | Fix -Wunused-variable warning in libFuzzer | Reid Kleckner | 2016-10-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 284838 | |||||
* | [libFuzzer] reshuffle the code for -exit_on_src_pos and -exit_on_item | Kostya Serebryany | 2016-10-18 | 1 | -13/+11 | |
| | | | | llvm-svn: 284508 | |||||
* | [libFuzzer] better algorithm for -minimize_crash | Kostya Serebryany | 2016-10-15 | 1 | -4/+16 | |
| | | | | llvm-svn: 284299 | |||||
* | [libFuzzer] add -trace_cmp=1 (guiding mutations based on the observed CMP ↵ | Kostya Serebryany | 2016-10-14 | 1 | -2/+14 | |
| | | | | | | instructions). This is a reincarnation of the previously deleted -use_traces, but using a different approach for collecting traces. Still a toy, but at least it scales well. Also fix -merge in trace-pc-guard mode llvm-svn: 284273 | |||||
* | [libFuzzer] more detailed message for disabled leak detection | Kostya Serebryany | 2016-10-13 | 1 | -2/+4 | |
| | | | | llvm-svn: 284169 | |||||
* | [libFuzzer] add -trace_malloc= flag | Kostya Serebryany | 2016-10-13 | 1 | -5/+28 | |
| | | | | llvm-svn: 284149 | |||||
* | [libFuzzer] when shrinking the corpus, delete evicted files previously ↵ | Kostya Serebryany | 2016-10-08 | 1 | -6/+7 | |
| | | | | | | created by the current process llvm-svn: 283682 | |||||
* | [libFuzzer] control the reload interval by a flag, make it 10 seconds by default | Kostya Serebryany | 2016-10-08 | 1 | -4/+8 | |
| | | | | llvm-svn: 283676 | |||||
* | [libFuzzer] be more careful with memory usage, print peak rss in status lines | Kostya Serebryany | 2016-10-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 283418 | |||||
* | [libFuzzer] when re-running for lsan, don't look at the coverage | Kostya Serebryany | 2016-10-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 283411 | |||||
* | [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test. | Kostya Serebryany | 2016-10-05 | 1 | -34/+21 | |
| | | | | llvm-svn: 283409 | |||||
* | [libFuzzer] clear the corpus elements if they are evicted (i.e. smaller ↵ | Kostya Serebryany | 2016-10-05 | 1 | -2/+16 | |
| | | | | | | elements with proper coverage are found). Make sure we never try to mutate empty element. Print the corpus size in bytes in the status lines llvm-svn: 283279 | |||||
* | [libFuzzer] remove dfsan support and some related stale code. This is not ↵ | Kostya Serebryany | 2016-10-04 | 1 | -1/+0 | |
| | | | | | | being used and as is is pretty weak anyway llvm-svn: 283187 | |||||
* | [libFuzzer] implement the -shrink=1 option that tires to make elements of ↵ | Kostya Serebryany | 2016-10-01 | 1 | -9/+27 | |
| | | | | | | the corpus smaller, off by default llvm-svn: 282995 | |||||
* | [libFuzzer] remove some experimental code | Kostya Serebryany | 2016-09-30 | 1 | -20/+11 | |
| | | | | llvm-svn: 282983 | |||||
* | [libFuzzer] remove unused option | Kostya Serebryany | 2016-09-30 | 1 | -2/+1 | |
| | | | | llvm-svn: 282971 | |||||
* | [libFuzzer] remove the code for -print_pcs=1 with the old coverage. It still ↵ | Kostya Serebryany | 2016-09-30 | 1 | -37/+2 | |
| | | | | | | works with the new one (trace-pc-guard) llvm-svn: 282831 | |||||
* | [libFuzzer] more the feature set to InputCorpus; on feature update, change ↵ | Kostya Serebryany | 2016-09-30 | 1 | -3/+1 | |
| | | | | | | the feature counter of the old best input llvm-svn: 282829 | |||||
* | [sanitizer-coverage/libFuzzer] make the guards for trace-pc 32-bit; create ↵ | Kostya Serebryany | 2016-09-29 | 1 | -1/+2 | |
| | | | | | | one array of guards per function, instead of one guard per BB. reorganize the code so that trace-pc-guard does not create unneeded globals llvm-svn: 282735 | |||||
* | [libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script ↵ | Kostya Serebryany | 2016-09-27 | 1 | -0/+17 | |
| | | | | | | for RE2 that uses this flag llvm-svn: 282458 | |||||
* | [libFuzzer] simplify HandleTrace again, start re-running interesting units ↵ | Kostya Serebryany | 2016-09-23 | 1 | -3/+16 | |
| | | | | | | and collecting their features. llvm-svn: 282316 | |||||
* | [libFuzzer] be more precise about what we reset in TracePC | Kostya Serebryany | 2016-09-23 | 1 | -3/+5 | |
| | | | | llvm-svn: 282225 | |||||
* | [libFuzzer] fix merging with trace-pc-guard | Kostya Serebryany | 2016-09-23 | 1 | -13/+12 | |
| | | | | llvm-svn: 282224 | |||||
* | [libFuzzer] simplify the TracePC logic | Kostya Serebryany | 2016-09-23 | 1 | -2/+4 | |
| | | | | llvm-svn: 282222 | |||||
* | [libFuzzer] move value profiling logic into TracePC | Kostya Serebryany | 2016-09-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 282219 | |||||
* | [libFuzzer] change ValueBitMap to remember the number of bits in it | Kostya Serebryany | 2016-09-23 | 1 | -10/+11 | |
| | | | | llvm-svn: 282216 | |||||
* | [libFuzzer] simplify the crash minimizer; split MaxLen into two: MaxInputLen ↵ | Kostya Serebryany | 2016-09-22 | 1 | -18/+25 | |
| | | | | | | and MaxMutationLen, allow MaxMutationLen to be less than MaxInputLen llvm-svn: 282211 | |||||
* | [libFuzzer] add 'features' to the corpus elements, allow mutations with Size ↵ | Kostya Serebryany | 2016-09-22 | 1 | -15/+22 | |
| | | | | | | > MaxSize, fix sha1 in corpus stats; various refactorings llvm-svn: 282129 | |||||
* | [libFuzzer] add stats to the corpus; more refactoring | Kostya Serebryany | 2016-09-21 | 1 | -23/+17 | |
| | | | | llvm-svn: 282121 | |||||
* | [libFuzzer] more refactoring; don't compute sha1sum every time we mutate a ↵ | Kostya Serebryany | 2016-09-21 | 1 | -27/+4 | |
| | | | | | | unit from the corpus, use the stored one. llvm-svn: 282115 | |||||
* | [libFuzzer] refactoring: split the large header into many; NFC | Kostya Serebryany | 2016-09-21 | 1 | -0/+4 | |
| | | | | llvm-svn: 282044 | |||||
* | [libFuzzer] refactoring: move the Corpus into a separate class; delete two ↵ | Kostya Serebryany | 2016-09-21 | 1 | -113/+21 | |
| | | | | | | unused experimental features llvm-svn: 282042 | |||||
* | [libFuzzer] add -print_coverage=1 flag to print coverage directly from ↵ | Kostya Serebryany | 2016-09-18 | 1 | -9/+4 | |
| | | | | | | libFuzzer llvm-svn: 281866 | |||||
* | [libFuzzer] change trace-pc to use 8-byte guards | Kostya Serebryany | 2016-09-17 | 1 | -0/+3 | |
| | | | | llvm-svn: 281810 | |||||
* | [libFuzzer] implement print_pcs with trace-pc-guard. Change the ↵ | Kostya Serebryany | 2016-09-15 | 1 | -10/+20 | |
| | | | | | | trace-pc-guard heuristic for 8-bit counters to look more like in AFL (not that it's provable better, but the existin test preferes this heuristic) llvm-svn: 281577 | |||||
* | [libFuzzer] add 8-bit counters to trace-pc-guard handler | Kostya Serebryany | 2016-09-15 | 1 | -1/+6 | |
| | | | | llvm-svn: 281568 | |||||
* | [libFuzzer] start using trace-pc-guard as an alternative source of coverage | Kostya Serebryany | 2016-09-14 | 1 | -12/+4 | |
| | | | | llvm-svn: 281435 | |||||
* | [libFuzzer] print a failed-merge warning only in the merge mode | Kostya Serebryany | 2016-09-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 281130 | |||||
* | [libFuzzer] print a visible message if merge fails due to a crash | Kostya Serebryany | 2016-09-10 | 1 | -0/+16 | |
| | | | | llvm-svn: 281122 | |||||
* | [libFuzzer] improve -print_pcs to not print new PCs coming from libFuzzer itself | Kostya Serebryany | 2016-09-09 | 1 | -5/+17 | |
| | | | | llvm-svn: 281016 | |||||
* | [libFuzzer] remove unneeded call | Kostya Serebryany | 2016-09-09 | 1 | -8/+0 | |
| | | | | llvm-svn: 281014 | |||||
* | [libfuzzer] simplified unit truncation; do not write trunc items to disc | Mike Aizatsky | 2016-08-30 | 1 | -29/+11 | |
| | | | | | | Differential Revision: https://reviews.llvm.org/D24049 llvm-svn: 280153 | |||||
* | [libFizzer] rename -print_new_cov_pcs=1 into -print_pcs=1 and make it more ↵ | Kostya Serebryany | 2016-08-25 | 1 | -7/+17 | |
| | | | | | | useful: print PCs only after the initial corpus has been read and symbolize them llvm-svn: 279787 | |||||
* | [libFuzzer] simplify the code, NFC | Kostya Serebryany | 2016-08-25 | 1 | -87/+72 | |
| | | | | llvm-svn: 279697 | |||||
* | [libFuzzer] when printing the reproducer input, also print the base input ↵ | Kostya Serebryany | 2016-08-17 | 1 | -0/+3 | |
| | | | | | | and the mutation sequence llvm-svn: 278975 | |||||
* | [libFuzzer] new experimental feature: value profiling. Profiles values that ↵ | Kostya Serebryany | 2016-08-16 | 1 | -2/+11 | |
| | | | | | | affect control flow and treats new values as new coverage. llvm-svn: 278839 | |||||
* | [libFuzzer] refactoring around PCMap, NFC | Kostya Serebryany | 2016-08-16 | 1 | -8/+7 | |
| | | | | llvm-svn: 278825 | |||||
* | [libFuzzer] make libFuzzer work with a bit older clang versions | Kostya Serebryany | 2016-08-06 | 1 | -8/+10 | |
| | | | | llvm-svn: 277941 |