| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [libFuzzer] use less stack | Kostya Serebryany | 2016-11-12 | 1 | -0/+2 |
| | | | | | llvm-svn: 286689 | ||||
| * | [libFuzzer] fix -error_exitcode=N, now with a test | Kostya Serebryany | 2016-11-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 285958 | ||||
| * | [libFuzzer] enable use_cmp by default | Kostya Serebryany | 2016-10-27 | 10 | -14/+16 |
| | | | | | llvm-svn: 285353 | ||||
| * | [libFuzzer] add StandaloneFuzzTargetMain.c and a test for it | Kostya Serebryany | 2016-10-25 | 4 | -3/+21 |
| | | | | | llvm-svn: 285135 | ||||
| * | [libFuzzer] when mutating based on CMP traces also try adding +/- 1 to the ↵ | Kostya Serebryany | 2016-10-25 | 1 | -0/+2 |
| | | | | | | | desired bytes. Add another test for use_cmp llvm-svn: 285109 | ||||
| * | [libFuzzer] simplify the code for use_cmp, also use the position hint when ↵ | Kostya Serebryany | 2016-10-25 | 3 | -2/+6 |
| | | | | | | | available, add a test llvm-svn: 285049 | ||||
| * | [libFuzzer] mutation: insert the size of the input in bytes as one of the ↵ | Kostya Serebryany | 2016-10-22 | 1 | -2/+6 |
| | | | | | | | ways to mutate a binary integer llvm-svn: 284909 | ||||
| * | [libFuzzer] typo in a test | Kostya Serebryany | 2016-10-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 284903 | ||||
| * | [libFuzzer] add a test for asan's strict_string_checks=1 | Kostya Serebryany | 2016-10-22 | 3 | -0/+26 |
| | | | | | llvm-svn: 284902 | ||||
| * | [libFuzzer] extend -print_coverage to also print uncovered lines, functions, ↵ | Kostya Serebryany | 2016-10-19 | 4 | -6/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and files. Example of output: COVERAGE: COVERED: in DSO2(int) /pathto/DSO2.cpp:6 COVERED: in DSO2(int) /pathto/DSO2.cpp:8 COVERED: in DSO1(int) /pathto/DSO1.cpp:6 COVERED: in DSO1(int) /pathto/DSO1.cpp:8 COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:16 COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:19 COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:25 COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:26 MODULE_WITH_COVERAGE: /pathto/libLLVMFuzzer-DSO1.so UNCOVERED_LINE: in DSO1(int) /pathto/DSO1.cpp:9 UNCOVERED_FUNC: in Uncovered1() MODULE_WITH_COVERAGE: /pathto/libLLVMFuzzer-DSO2.so UNCOVERED_LINE: in DSO2(int) /pathto/DSO2.cpp:9 UNCOVERED_FUNC: in Uncovered2() MODULE_WITH_COVERAGE: /pathto/LLVMFuzzer-DSOTest UNCOVERED_LINE: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:21 UNCOVERED_LINE: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:27 UNCOVERED_FILE: /pathto/DSOTestExtra.cpp Several things are not perfect here: * we are using objdump+awk instead of sancov because sancov does not support DSOs yet. * this breaks in the presence of ASAN_OPTIONS=strip_path_prefix=... (need to implement another API to get the module name by PC) llvm-svn: 284554 | ||||
| * | [libFuzzer] detect leaks after every run when executing fixed inputs ↵ | Kostya Serebryany | 2016-10-18 | 1 | -0/+3 |
| | | | | | | | (./fuzzer -runs=1000000 my-file) llvm-svn: 284514 | ||||
| * | [libFuzzer] swap bytes in integers when handling CMP traces | Kostya Serebryany | 2016-10-15 | 2 | -0/+34 |
| | | | | | llvm-svn: 284301 | ||||
| * | [libFuzzer] add -trace_cmp=1 (guiding mutations based on the observed CMP ↵ | Kostya Serebryany | 2016-10-14 | 1 | -1/+1 |
| | | | | | | | 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] add -trace_malloc= flag | Kostya Serebryany | 2016-10-13 | 3 | -0/+38 |
| | | | | | llvm-svn: 284149 | ||||
| * | [libFuzzer] implement value profile for switch, increase the size of the PCs ↵ | Kostya Serebryany | 2016-10-11 | 1 | -0/+2 |
| | | | | | | | array, make sure we don't overflow it llvm-svn: 283841 | ||||
| * | [libFuzzer] add switch tests | Kostya Serebryany | 2016-10-11 | 2 | -0/+38 |
| | | | | | llvm-svn: 283840 | ||||
| * | [libFuzzer] make a test less flaky | Kostya Serebryany | 2016-10-09 | 1 | -1/+0 |
| | | | | | llvm-svn: 283686 | ||||
| * | [libFuzzer] when shrinking the corpus, delete evicted files previously ↵ | Kostya Serebryany | 2016-10-08 | 1 | -1/+1 |
| | | | | | | | created by the current process llvm-svn: 283682 | ||||
| * | [libFuzzer] refactoring to make -shrink=1 work for value profile, added a test. | Kostya Serebryany | 2016-10-05 | 5 | -9/+17 |
| | | | | | llvm-svn: 283409 | ||||
| * | [libFuzzer] add ShrinkValueProfileTest, move code around, NFC | Kostya Serebryany | 2016-10-05 | 5 | -3/+26 |
| | | | | | llvm-svn: 283286 | ||||
| * | [libFuzzer] remove dfsan support and some related stale code. This is not ↵ | Kostya Serebryany | 2016-10-04 | 5 | -52/+0 |
| | | | | | | | being used and as is is pretty weak anyway llvm-svn: 283187 | ||||
| * | [libFuzzer] remove unused option | Kostya Serebryany | 2016-09-30 | 3 | -14/+7 |
| | | | | | llvm-svn: 282971 | ||||
| * | [libFuzzer] remove the code for -print_pcs=1 with the old coverage. It still ↵ | Kostya Serebryany | 2016-09-30 | 1 | -1/+0 |
| | | | | | | | works with the new one (trace-pc-guard) llvm-svn: 282831 | ||||
| * | [libFuzzer] add -exit_on_src_pos to test libFuzzer itself, add a test script ↵ | Kostya Serebryany | 2016-09-27 | 2 | -1/+5 |
| | | | | | | | for RE2 that uses this flag llvm-svn: 282458 | ||||
| * | [libFuzzer] fix merging with trace-pc-guard | Kostya Serebryany | 2016-09-23 | 3 | -4/+7 |
| | | | | | llvm-svn: 282224 | ||||
| * | [libFuzzer] add 'features' to the corpus elements, allow mutations with Size ↵ | Kostya Serebryany | 2016-09-22 | 1 | -1/+1 |
| | | | | | | | > MaxSize, fix sha1 in corpus stats; various refactorings llvm-svn: 282129 | ||||
| * | [libFuzzer] one more test | Kostya Serebryany | 2016-09-22 | 3 | -0/+30 |
| | | | | | llvm-svn: 282127 | ||||
| * | [libFuzzer] add stats to the corpus; more refactoring | Kostya Serebryany | 2016-09-21 | 1 | -1/+2 |
| | | | | | llvm-svn: 282121 | ||||
| * | [libFuzzer] more refactoring; don't compute sha1sum every time we mutate a ↵ | Kostya Serebryany | 2016-09-21 | 1 | -8/+5 |
| | | | | | | | unit from the corpus, use the stored one. llvm-svn: 282115 | ||||
| * | [libFuzzer] more refactoring | Kostya Serebryany | 2016-09-21 | 1 | -2/+2 |
| | | | | | llvm-svn: 282113 | ||||
| * | [libFuzzer] refactoring: split the large header into many; NFC | Kostya Serebryany | 2016-09-21 | 1 | -0/+3 |
| | | | | | llvm-svn: 282044 | ||||
| * | [libFuzzer] refactoring: move the Corpus into a separate class; delete two ↵ | Kostya Serebryany | 2016-09-21 | 3 | -16/+3 |
| | | | | | | | unused experimental features llvm-svn: 282042 | ||||
| * | [libFuzzer] add -print_coverage=1 flag to print coverage directly from ↵ | Kostya Serebryany | 2016-09-18 | 2 | -0/+8 |
| | | | | | | | libFuzzer llvm-svn: 281866 | ||||
| * | [libFuzzer] properly reset the guards when reseting the coverage. Also try ↵ | Kostya Serebryany | 2016-09-17 | 1 | -1/+1 |
| | | | | | | | to fix check-fuzzer on the bot llvm-svn: 281814 | ||||
| * | [libFuzzer] change trace-pc to use 8-byte guards | Kostya Serebryany | 2016-09-17 | 7 | -1/+87 |
| | | | | | llvm-svn: 281810 | ||||
| * | [libFuzzer] make caller-callee feedback work with trace-pc-guard | Kostya Serebryany | 2016-09-15 | 3 | -1/+4 |
| | | | | | llvm-svn: 281667 | ||||
| * | [libFuzzer] fix the build for AFLDriverTest | Kostya Serebryany | 2016-09-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 281633 | ||||
| * | [libFuzzer] disable test that requires debug info -- it fails on the bot | Kostya Serebryany | 2016-09-15 | 1 | -5/+0 |
| | | | | | llvm-svn: 281584 | ||||
| * | [libFuzzer] move the AFL driver build rule test into the uninstrumented dir | Kostya Serebryany | 2016-09-15 | 2 | -12/+13 |
| | | | | | llvm-svn: 281583 | ||||
| * | [libFuzzer] fix print_pcs test | Kostya Serebryany | 2016-09-15 | 1 | -2/+2 |
| | | | | | llvm-svn: 281580 | ||||
| * | [libFuzzer] implement print_pcs with trace-pc-guard. Change the ↵ | Kostya Serebryany | 2016-09-15 | 1 | -1/+8 |
| | | | | | | | 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 | 2 | -1/+8 |
| | | | | | llvm-svn: 281568 | ||||
| * | [libFuzzer] start using trace-pc-guard as an alternative source of coverage | Kostya Serebryany | 2016-09-14 | 3 | -10/+3 |
| | | | | | llvm-svn: 281435 | ||||
| * | [libFuzzer] don't print help for internal flags | Kostya Serebryany | 2016-09-10 | 1 | -0/+2 |
| | | | | | llvm-svn: 281124 | ||||
| * | [libFuzzer] print a visible message if merge fails due to a crash | Kostya Serebryany | 2016-09-10 | 1 | -0/+6 |
| | | | | | llvm-svn: 281122 | ||||
| * | [libFuzzer] use sizeof() in tests instead of 4 and 8 | Kostya Serebryany | 2016-09-09 | 2 | -6/+6 |
| | | | | | llvm-svn: 281111 | ||||
| * | [libFuzzer] one more puzzle for value profile | Kostya Serebryany | 2016-09-09 | 3 | -0/+25 |
| | | | | | llvm-svn: 281106 | ||||
| * | [libFuzzer] one more puzzle, value_profile cracks it in a second | Kostya Serebryany | 2016-09-09 | 3 | -0/+25 |
| | | | | | llvm-svn: 281066 | ||||
| * | [libFuzzer] remove use_traces=1 since use_value_profile seems to be strictly ↵ | Kostya Serebryany | 2016-09-09 | 2 | -18/+0 |
| | | | | | | | better llvm-svn: 281007 | ||||
| * | [libFuzzer] add -minimize_crash flag (to minimize crashers). also add two ↵ | Kostya Serebryany | 2016-09-01 | 3 | -0/+12 |
| | | | | | | | tests that I failed to commit last time llvm-svn: 280332 | ||||

