Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [libFuzzer] handle SIGTERM | Kostya Serebryany | 2016-03-24 | 1 | -0/+1 |
| | | | | llvm-svn: 264338 | ||||
* | libfuzzer: fix compiler warnings | Dmitry Vyukov | 2016-03-02 | 1 | -5/+11 |
| | | | | | | | | - unused sigaction/setitimer result (used in assert) - unchecked fscanf return value - signed/unsigned comparison llvm-svn: 262472 | ||||
* | [libFuzzer] add generic signal handlers so that libFuzzer can report at ↵ | Kostya Serebryany | 2016-03-01 | 1 | -5/+25 |
| | | | | | | least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag. llvm-svn: 262415 | ||||
* | [libFuzzer] add -print_final_stats=1 flag | Kostya Serebryany | 2016-02-26 | 1 | -0/+8 |
| | | | | llvm-svn: 262084 | ||||
* | [libFuzzer] remove std::vector operations from hot paths, NFC | Kostya Serebryany | 2016-02-13 | 1 | -2/+3 |
| | | | | llvm-svn: 260829 | ||||
* | [libFuzzer] replace vector with a simpler data structure in the Dictionaries ↵ | Kostya Serebryany | 2016-01-16 | 1 | -3/+5 |
| | | | | | | to avoid memory allocations on hot path llvm-svn: 257985 | ||||
* | [libFuzzer] make CurrentUnit a POD object instead of vector to avoid extra ↵ | Kostya Serebryany | 2016-01-13 | 1 | -3/+8 |
| | | | | | | allocations llvm-svn: 257713 | ||||
* | [libFuzzer] when a new unit is discovered using a dictionary, print all used ↵ | Kostya Serebryany | 2016-01-12 | 1 | -6/+19 |
| | | | | | | dictionary entries llvm-svn: 257435 | ||||
* | [libFuzzer] compute base64 in-process instead of using an external lib. ↵ | Kostya Serebryany | 2015-12-04 | 1 | -0/+29 |
| | | | | | | Since libFuzzer should not depend on anything, just re-implement base64 encoder. PR25746 llvm-svn: 254784 | ||||
* | [libFuzzer] experimental flag -drill (another search heuristic; Mike ↵ | Kostya Serebryany | 2015-11-12 | 1 | -2/+2 |
| | | | | | | Aizatsky's idea) llvm-svn: 252838 | ||||
* | [libFuzzer] print a bit fewer lines | Kostya Serebryany | 2015-11-05 | 1 | -1/+0 |
| | | | | llvm-svn: 252123 | ||||
* | [libFuzzer] print a stack trace on timeout | Kostya Serebryany | 2015-10-16 | 1 | -0/+2 |
| | | | | llvm-svn: 250571 | ||||
* | [libFuzzer] adding a parser for AFL-style dictionaries + tests. | Kostya Serebryany | 2015-09-03 | 1 | -0/+74 |
| | | | | llvm-svn: 246800 | ||||
* | [libFuzzer] honour -only_ascii=1 when reading the initial corpus. Also, ↵ | Kostya Serebryany | 2015-09-02 | 1 | -0/+6 |
| | | | | | | remove ugly #ifdef llvm-svn: 246689 | ||||
* | [libFuzzer] add -only_ascii flag | Kostya Serebryany | 2015-08-11 | 1 | -0/+13 |
| | | | | llvm-svn: 244559 | ||||
* | [lib/Fuzzer] fully get rid of std::cerr in libFuzzer | Kostya Serebryany | 2015-05-23 | 1 | -7/+6 |
| | | | | llvm-svn: 238081 | ||||
* | [lib/Fuzzer] when -sync_command=<CMD> is given, periodically execute 'CMD ↵ | Kostya Serebryany | 2015-05-18 | 1 | -0/+4 |
| | | | | | | CORPUS' to synchronize with other processes llvm-svn: 237617 | ||||
* | [lib/Fuzzer] Add SHA1 implementation from public domain. | Kostya Serebryany | 2015-05-14 | 1 | -38/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | Summary: This adds a SHA1 implementation taken from public domain code. The change is trivial, but as it involves third-party code I'd like a second pair of eyes before commit. LibFuzzer can not use SHA1 from openssl because openssl may not be available and because we may be fuzzing openssl itself. Using sha1sum via a pipe is too slow. Test Plan: n/a Reviewers: chandlerc Reviewed By: chandlerc Subscribers: majnemer, llvm-commits Differential Revision: http://reviews.llvm.org/D9733 llvm-svn: 237400 | ||||
* | [lib/Fuzzer] use sha1sum for the file hash | Kostya Serebryany | 2015-05-12 | 1 | -0/+30 |
| | | | | llvm-svn: 237198 | ||||
* | [lib/Fuzzer] guess the right number of workers if -jobs=N is given but ↵ | Kostya Serebryany | 2015-05-12 | 1 | -0/+8 |
| | | | | | | -workers=M is not. Update the docs. llvm-svn: 237163 | ||||
* | [fuzzer] document the -tokens flag. Also change the diagnostic output | Kostya Serebryany | 2015-04-01 | 1 | -4/+7 |
| | | | | llvm-svn: 233842 | ||||
* | [fuzzer] Add support for token-based fuzzing (e.g. for C++). Allow string ↵ | Kostya Serebryany | 2015-03-31 | 1 | -1/+1 |
| | | | | | | flags. llvm-svn: 233745 | ||||
* | Reverting r227452, which adds back the fuzzer library. Now excluding the ↵ | Aaron Ballman | 2015-01-29 | 1 | -0/+61 |
| | | | | | | fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. llvm-svn: 227464 | ||||
* | Temporarily reverting the fuzzer library as it causes too many build issues ↵ | Aaron Ballman | 2015-01-29 | 1 | -61/+0 |
| | | | | | | for MSVC users. This reverts: 227445, 227395, 227389, 227357, 227254, 227252 llvm-svn: 227452 | ||||
* | Add a Fuzzer library | Kostya Serebryany | 2015-01-27 | 1 | -0/+61 |
Summary: A simple genetic in-process coverage-guided fuzz testing library. I've used this fuzzer to test clang-format (it found 12+ bugs, thanks djasper@ for the fixes!) and it may also help us test other parts of LLVM. So why not keep it in the LLVM repository? I plan to add the cmake build rules later (in a separate patch, if that's ok) and also add a clang-format-fuzzer target. See README.txt for details. Test Plan: Tests will follow separately. Reviewers: djasper, chandlerc, rnk Reviewed By: rnk Subscribers: majnemer, ygribov, dblaikie, llvm-commits Differential Revision: http://reviews.llvm.org/D7184 llvm-svn: 227252 |