Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [libFuzzer] Delete llvm/lib/Fuzzer | Vitaly Buka | 2017-10-16 | 1 | -67/+0 |
| | | | | | | | | | | | | Summary: Code is already in compiler-rt Reviewers: kcc Subscribers: krytarowski, llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D38912 llvm-svn: 315937 | ||||
* | [libFuzzer] use table of recent compares for memcmp/strcmp (to unify the ↵ | Kostya Serebryany | 2017-01-17 | 1 | -1/+1 |
| | | | | | | code between cmp and memcmp handling) llvm-svn: 292287 | ||||
* | [libfuzzer] custom crossover interface function. | Mike Aizatsky | 2016-06-07 | 1 | -0/+9 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D21089 llvm-svn: 272054 | ||||
* | [libFuzzer] simplify FuzzerInterface.h | Kostya Serebryany | 2016-05-13 | 1 | -52/+30 |
| | | | | llvm-svn: 269448 | ||||
* | [libFuzzer] don't require seed in fuzzer::Mutate, instead use the global ↵ | Kostya Serebryany | 2016-02-13 | 1 | -2/+3 |
| | | | | | | 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 | 1 | -6/+0 |
| | | | | llvm-svn: 260801 | ||||
* | [libFuzzer] remove UserSuppliedFuzzer from the interface (it was a bad idea). | Kostya Serebryany | 2016-02-13 | 1 | -93/+5 |
| | | | | llvm-svn: 260796 | ||||
* | [libFuzzer] provide a plain C interface for custom mutators (experimental) | Kostya Serebryany | 2016-02-13 | 1 | -0/+18 |
| | | | | llvm-svn: 260794 | ||||
* | Revert r258473 as it's breaking the build with libc++ | Ivan Krasin | 2016-01-22 | 1 | -12/+0 |
| | | | | | | | | 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 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | 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] use std::mt19937 for generating random numbers by default. Fix ↵ | Kostya Serebryany | 2016-01-19 | 1 | -1/+14 |
| | | | | | | MyStoll to handle negative values. Use std::any_of instead of std::find_if llvm-svn: 258178 | ||||
* | [libFuzzer] introduce LLVMFuzzerInitialize | Kostya Serebryany | 2016-01-16 | 1 | -1/+9 |
| | | | | llvm-svn: 257980 | ||||
* | [libFuzzer] move some code from public interface header to a non-public ↵ | Kostya Serebryany | 2016-01-16 | 1 | -77/+8 |
| | | | | | | header. NFC llvm-svn: 257963 | ||||
* | [libFuzzer] suggest a dictionary to the user of some of the trace-based ↵ | Kostya Serebryany | 2016-01-14 | 1 | -5/+10 |
| | | | | | | dictionary entries were successful llvm-svn: 257736 | ||||
* | [libFuzzer] change the way trace-based mutations are applied. Instead of a ↵ | Kostya Serebryany | 2016-01-09 | 1 | -0/+3 |
| | | | | | | custom code just rely on the automatically created dictionary llvm-svn: 257248 | ||||
* | [libFuzzer] add a position hint to the dictionary-based mutator | Kostya Serebryany | 2016-01-07 | 1 | -4/+10 |
| | | | | llvm-svn: 257013 | ||||
* | [libFuzzer] make CrossOver just one of the other mutations | Kostya Serebryany | 2015-12-19 | 1 | -0/+9 |
| | | | | llvm-svn: 256081 | ||||
* | [libFuzzer] print successfull mutations sequences | Kostya Serebryany | 2015-12-19 | 1 | -0/+6 |
| | | | | llvm-svn: 256071 | ||||
* | [LibFuzzer] Introducing FUZZER_FLAG_UNSIGNED and using it for seeding. | Mike Aizatsky | 2015-12-10 | 1 | -3/+3 |
| | | | | | | | | Differential Revision: http://reviews.llvm.org/D15339 done llvm-svn: 255296 | ||||
* | [libFuzzer] remove some old code; also make ↵ | Kostya Serebryany | 2015-10-23 | 1 | -3/+0 |
| | | | | | | __sanitizer_get_total_unique_caller_callee_pairs weak so that newer libFuzzer works with older asan llvm-svn: 251133 | ||||
* | [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return ↵ | Kostya Serebryany | 2015-10-02 | 1 | -4/+8 |
| | | | | | | int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated. llvm-svn: 249214 | ||||
* | [libFuzzer] add two more variants of FuzzerDriver for convenience | Kostya Serebryany | 2015-09-10 | 1 | -0/+6 |
| | | | | llvm-svn: 247300 | ||||
* | [libFuzzer] add one more mutator: Mutate_ChangeASCIIInteger | Kostya Serebryany | 2015-09-08 | 1 | -0/+2 |
| | | | | llvm-svn: 247027 | ||||
* | [libFuzzer] actually make the dictionaries work (+docs) | Kostya Serebryany | 2015-09-04 | 1 | -1/+12 |
| | | | | llvm-svn: 246825 | ||||
* | [libFuzzer] refactor the mutation functions so that they are now methods of ↵ | Kostya Serebryany | 2015-09-03 | 1 | -28/+33 |
| | | | | | | a class. NFC llvm-svn: 246808 | ||||
* | [libFuzzer] move the mutators to public interface so that custom mutators ↵ | Kostya Serebryany | 2015-08-06 | 1 | -8/+31 |
| | | | | | | may reuse these functions directly llvm-svn: 244250 | ||||
* | [libFuzzer] add one more mutation strategy: byte shuffling | Kostya Serebryany | 2015-08-06 | 1 | -1/+1 |
| | | | | llvm-svn: 244188 | ||||
* | [libFuzzer] allow users to supply their own implementation of rand | Kostya Serebryany | 2015-07-24 | 1 | -1/+29 |
| | | | | llvm-svn: 243078 | ||||
* | [lib/Fuzzer] make assertions more informative and update comments for the ↵ | Kostya Serebryany | 2015-05-30 | 1 | -2/+2 |
| | | | | | | user-supplied mutator llvm-svn: 238658 | ||||
* | [lib/Fuzzer] doxygen-ify the comments for the user interface | Kostya Serebryany | 2015-05-23 | 1 | -13/+22 |
| | | | | llvm-svn: 238086 | ||||
* | [lib/Fuzzer] extend the fuzzer interface to allow user-supplied mutators | Kostya Serebryany | 2015-05-22 | 1 | -1/+65 |
| | | | | llvm-svn: 238059 | ||||
* | [fuzzer] split main() into FuzzerDriver() that takes a callback as a ↵ | Kostya Serebryany | 2015-02-19 | 1 | -0/+25 |
parameter and a tiny main() in a separate file llvm-svn: 229882 |