| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [libFuzzer] fixing the bot | Kostya Serebryany | 2016-02-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 262106 | ||||
| * | [libFuzzer] speedup path coverage handling | Kostya Serebryany | 2016-02-27 | 2 | -18/+19 |
| | | | | | llvm-svn: 262102 | ||||
| * | [libFuzzer] add -print_final_stats=1 flag | Kostya Serebryany | 2016-02-26 | 6 | -3/+41 |
| | | | | | llvm-svn: 262084 | ||||
| * | [libFuzzer] initial implementation of path coverage based on ↵ | Kostya Serebryany | 2016-02-26 | 7 | -0/+103 |
| | | | | | | | -fsanitize-coverage=trace-pc. This does not scale well yet, but already cracks FullCoverageSetTest in seconds llvm-svn: 262073 | ||||
| * | [libFuzzer] only read MaxLen bytes from every file in the corpus to speedup ↵ | Kostya Serebryany | 2016-02-18 | 4 | -12/+18 |
| | | | | | | | loading the corpus llvm-svn: 261267 | ||||
| * | [libFuzzer] fix the libFuzzer bot | Kostya Serebryany | 2016-02-18 | 2 | -2/+2 |
| | | | | | llvm-svn: 261184 | ||||
| * | [libFuzzer] don't timeout when loading the corpus. Be a bit more verbose ↵ | Kostya Serebryany | 2016-02-17 | 2 | -1/+7 |
| | | | | | | | when loading large corpus. llvm-svn: 261143 | ||||
| * | [libFuzzer] remove std::vector operations from hot paths, NFC | Kostya Serebryany | 2016-02-13 | 5 | -31/+38 |
| | | | | | llvm-svn: 260829 | ||||
| * | [libFuzzer] don't require seed in fuzzer::Mutate, instead use the global ↵ | Kostya Serebryany | 2016-02-13 | 5 | -12/+21 |
| | | | | | | | Fuzzer object for fuzzer::Mutate. This makes custom mutators fast llvm-svn: 260810 | ||||
| * | [libFuzzer] remove the C++-ish variant of FuzzerDriver from the interface | Kostya Serebryany | 2016-02-13 | 2 | -12/+7 |
| | | | | | llvm-svn: 260801 | ||||
| * | [libFuzzer] simplify CTOR of MutationDispatcher | Kostya Serebryany | 2016-02-13 | 2 | -21/+21 |
| | | | | | llvm-svn: 260800 | ||||
| * | [libFuzzer] get rid of MutationDispatcher::Impl (simplify the code; NFC) | Kostya Serebryany | 2016-02-13 | 2 | -136/+114 |
| | | | | | llvm-svn: 260799 | ||||
| * | [libFuzzer] get rid of UserSuppliedFuzzer; NFC | Kostya Serebryany | 2016-02-13 | 9 | -97/+41 |
| | | | | | llvm-svn: 260798 | ||||
| * | [libFuzzer] simplify the code around Random. NFC | Kostya Serebryany | 2016-02-13 | 5 | -87/+39 |
| | | | | | llvm-svn: 260797 | ||||
| * | [libFuzzer] remove UserSuppliedFuzzer from the interface (it was a bad idea). | Kostya Serebryany | 2016-02-13 | 6 | -160/+68 |
| | | | | | llvm-svn: 260796 | ||||
| * | [libFuzzer] provide a plain C interface for custom mutators (experimental) | Kostya Serebryany | 2016-02-13 | 6 | -2/+65 |
| | | | | | llvm-svn: 260794 | ||||
| * | [libFuzzer] make -runs=N flag also affect the simple runner (will execute ↵ | Kostya Serebryany | 2016-02-12 | 4 | -3/+28 |
| | | | | | | | every input N times) llvm-svn: 260649 | ||||
| * | [libfuzzer] Removing coverage-related flags from asan options. | Mike Aizatsky | 2016-02-11 | 1 | -3/+1 |
| | | | | | | | | | | | | Summary: Reasons to remove are twofold: - we don't really need coverage=1 for libfuzzer operation - makes controlling coverage for fuzzer processes non-trivial. Differential Revision: http://reviews.llvm.org/D17168 llvm-svn: 260611 | ||||
| * | [libFuzzer] hot fix a test | Kostya Serebryany | 2016-02-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 259732 | ||||
| * | [libFuzzer] don't write the test unit when a leak is detected (since we ↵ | Kostya Serebryany | 2016-02-04 | 4 | -0/+16 |
| | | | | | | | don't know which unit causes the leak) llvm-svn: 259731 | ||||
| * | [libFuzzer] don't create too many trace-based mutations as it may be too slow | Kostya Serebryany | 2016-02-02 | 1 | -2/+18 |
| | | | | | llvm-svn: 259600 | ||||
| * | [libFuzzer] allow passing 1 or more files as individual inputs | Kostya Serebryany | 2016-02-02 | 4 | -2/+48 |
| | | | | | llvm-svn: 259459 | ||||
| * | [libFuzzer] fail if the corpus dir does not exist | Kostya Serebryany | 2016-02-02 | 2 | -1/+4 |
| | | | | | llvm-svn: 259454 | ||||
| * | [libFuzzer] add -timeout_exitcode option | Kostya Serebryany | 2016-01-29 | 5 | -1/+6 |
| | | | | | llvm-svn: 259265 | ||||
| * | [libFuzzer] re-enable test for -abort_on_timeout=1, this time protecting ↵ | Kostya Serebryany | 2016-01-29 | 1 | -1/+1 |
| | | | | | | | from ASAN_OPTIONS set outside llvm-svn: 259263 | ||||
| * | Temporary disable broken fuzzer/timeout tests. | Ivan Krasin | 2016-01-25 | 1 | -1/+1 |
| | | | | | | | | | Reviewers: kcc Differential Revision: http://reviews.llvm.org/D16543 llvm-svn: 258702 | ||||
| * | [libFuzzer] add -abort_on_timeout option | Kostya Serebryany | 2016-01-23 | 5 | -0/+6 |
| | | | | | llvm-svn: 258631 | ||||
| * | [libFuzzer] add more fields to DictionaryEntry to count the number of uses ↵ | Kostya Serebryany | 2016-01-22 | 2 | -29/+52 |
| | | | | | | | and successes llvm-svn: 258589 | ||||
| * | Use std::piecewise_constant_distribution instead of ad-hoc binary search. | Ivan Krasin | 2016-01-22 | 3 | -63/+106 |
| | | | | | | | | | | | | | | | | Summary: Fix the issue with the most recently discovered unit receiving much less attention. Note: this is the second attempt (prev: r258473). Now, libc++ build is fixed. Reviewers: aizatsky, kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16487 llvm-svn: 258571 | ||||
| * | Revert r258473 as it's breaking the build with libc++ | Ivan Krasin | 2016-01-22 | 4 | -57/+17 |
| | | | | | | | | | Reviewers: kcc Differential Revision: http://reviews.llvm.org/D16441 llvm-svn: 258479 | ||||
| * | Use std::piecewise_constant_distribution instead of ad-hoc binary search. | Ivan Krasin | 2016-01-22 | 4 | -17/+57 |
| | | | | | | | | | | | | | | | | | | | Summary: Fix the issue with the most recently discovered unit receiving much less attention. Note: I had to change the seed for one test to make it pass. Alternatively, the number of runs could be increased. I believe that the average time of 'foo' discovery is not increased, just seed=1 was particularly convenient for the previous PRNG scheme used. Reviewers: aizatsky, kcc Subscribers: llvm-commits, kcc Differential Revision: http://reviews.llvm.org/D16419 llvm-svn: 258473 | ||||
| * | [libFuzzer] don't do expensive memmem if the result will not be used | Kostya Serebryany | 2016-01-22 | 1 | -0/+2 |
| | | | | | llvm-svn: 258462 | ||||
| * | [libFuzzer] don't use std::vector in one more hot path | Kostya Serebryany | 2016-01-21 | 1 | -6/+29 |
| | | | | | llvm-svn: 258380 | ||||
| * | [libfuzzer] use %p for printing addresses | Mike Aizatsky | 2016-01-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 258370 | ||||
| * | [libFuzzer] use std::mt19937 for generating random numbers by default. Fix ↵ | Kostya Serebryany | 2016-01-19 | 5 | -8/+43 |
| | | | | | | | MyStoll to handle negative values. Use std::any_of instead of std::find_if llvm-svn: 258178 | ||||
| * | [libFuzzer] replace vector with a simpler data structure in the Dictionaries ↵ | Kostya Serebryany | 2016-01-16 | 6 | -53/+84 |
| | | | | | | | to avoid memory allocations on hot path llvm-svn: 257985 | ||||
| * | [libFuzzer] introduce LLVMFuzzerInitialize | Kostya Serebryany | 2016-01-16 | 6 | -2/+43 |
| | | | | | llvm-svn: 257980 | ||||
| * | [libFuzzer] move some code from public interface header to a non-public ↵ | Kostya Serebryany | 2016-01-16 | 4 | -79/+90 |
| | | | | | | | header. NFC llvm-svn: 257963 | ||||
| * | [libFuzzer] do mutations based on memcmp/strcmp interceptors under a ↵ | Kostya Serebryany | 2016-01-15 | 5 | -25/+36 |
| | | | | | | | separate flag (-use_memcmp, default=1) llvm-svn: 257873 | ||||
| * | [libFuzzer] use custom stol; also introduce __libfuzzer_is_present so that ↵ | Kostya Serebryany | 2016-01-15 | 1 | -1/+17 |
| | | | | | | | users can check for its presence. llvm-svn: 257848 | ||||
| * | [libFuzzer] suggest a dictionary to the user of some of the trace-based ↵ | Kostya Serebryany | 2016-01-14 | 9 | -23/+103 |
| | | | | | | | dictionary entries were successful llvm-svn: 257736 | ||||
| * | [libFuzzer] make CurrentUnit a POD object instead of vector to avoid extra ↵ | Kostya Serebryany | 2016-01-13 | 4 | -45/+51 |
| | | | | | | | allocations llvm-svn: 257713 | ||||
| * | [libFuzzer] make sure we find buffer overflow in the input buffer. ↵ | Kostya Serebryany | 2016-01-13 | 6 | -17/+48 |
| | | | | | | | Previously, re-using the same vector object was hiding buffer overflows (unless we used annotated vector) llvm-svn: 257701 | ||||
| * | [libFuzzer] make sure to update CurrentUnit when drilling | Kostya Serebryany | 2016-01-13 | 1 | -1/+4 |
| | | | | | llvm-svn: 257560 | ||||
| * | [libFuzzer] add a macro LLVM_FUZZER_DEFINES_SANITIZER_WEAK_HOOOKS | Kostya Serebryany | 2016-01-12 | 1 | -0/+8 |
| | | | | | llvm-svn: 257482 | ||||
| * | [libFuzzer] when a new unit is discovered using a dictionary, print all used ↵ | Kostya Serebryany | 2016-01-12 | 4 | -30/+35 |
| | | | | | | | dictionary entries llvm-svn: 257435 | ||||
| * | [libFuzzer] add various debug prints. Also don't mutate based on a cmp trace ↵ | Kostya Serebryany | 2016-01-12 | 1 | -5/+28 |
| | | | | | | | like (a eq a) or (a neq a) llvm-svn: 257434 | ||||
| * | [libFuzzer] extend the weak memcmp/strcmp/strncmp interceptors to receive ↵ | Kostya Serebryany | 2016-01-12 | 1 | -3/+6 |
| | | | | | | | the result of the computations. With that, don't do any mutations if memcmp/etc returned 0 llvm-svn: 257423 | ||||
| * | [libFuzzer] debug prints in tracing | Kostya Serebryany | 2016-01-09 | 1 | -2/+27 |
| | | | | | llvm-svn: 257249 | ||||
| * | [libFuzzer] change the way trace-based mutations are applied. Instead of a ↵ | Kostya Serebryany | 2016-01-09 | 8 | -60/+33 |
| | | | | | | | custom code just rely on the automatically created dictionary llvm-svn: 257248 | ||||

