| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [libFuzzer] use __sanitizer_set_report_fd with -close_fd_mask. This allows ↵ | Kostya Serebryany | 2016-05-27 | 1 | -1/+3 | 
| | | | | | | | us to keep asan reports when closing target's stderr llvm-svn: 271053 | ||||
| * | [LibFuzzer] Refactor declaration of tests in CMake. | Dan Liew | 2016-05-27 | 6 | -115/+104 | 
| | | | | | | | | | | | | | | | | | | | Add a new CMake function (``add_libfuzzer_test()``) to simplify declaration of executables for testing LibFuzzer and use it to reorganise how tests are declared. Note that configuration of the lit configuration files has been moved as late as possible because we are going to need to disable some tests for some platforms and we will need to propagate this information into the lit configuration. Note the code for custom mains was removed because no tests are currently written for this and Kostya seems happy to remove this. Differential Revision: http://reviews.llvm.org/D20706 llvm-svn: 270958 | ||||
| * | [libFuzzer] make check-fuzzer a bit faster | Kostya Serebryany | 2016-05-27 | 1 | -3/+2 | 
| | | | | | llvm-svn: 270947 | ||||
| * | [libFuzzer] more refactoring: make sure CurrentUnitData is awlays a valid ↵ | Kostya Serebryany | 2016-05-27 | 1 | -0/+3 | 
| | | | | | | | pointer to read from llvm-svn: 270942 | ||||
| * | [libFuzzer] more refactoring around CurrentUnit. Also add a threading test ↵ | Kostya Serebryany | 2016-05-26 | 3 | -2/+26 | 
| | | | | | | | on which we currently have a race (when reporting bugs from multiple threads) llvm-svn: 270929 | ||||
| * | [LibFuzzer] Allow LibFuzzer to be built in modes other than RELEASE. | Dan Liew | 2016-05-26 | 6 | -12/+35 | 
| | | | | | | | | | | | | | Previously the flags were only being set correctly when the build type was "Release". Now the build should work properly for all the supported build types. When building libFuzzer the optimization level respects whatever is used for the rest of LLVM but for the LibFuzzer tests we force -O0. Differential Revision: http://reviews.llvm.org/D20558 llvm-svn: 270912 | ||||
| * | [libFuzzer] when there is a leak in the existing corpus report the ↵ | Kostya Serebryany | 2016-05-26 | 1 | -1/+1 | 
| | | | | | | | reproducer properly llvm-svn: 270905 | ||||
| * | [libFuzzer] reimplement the way we do -only_ascii to allow more 'const' in ↵ | Kostya Serebryany | 2016-05-26 | 1 | -0/+3 | 
| | | | | | | | function declarations. Add a test for -only_ascii. NFC intended llvm-svn: 270900 | ||||
| * | [libfuzzer] replacing unittest for truncate_units with functional test. | Mike Aizatsky | 2016-05-25 | 4 | -22/+22 | 
| | | | | | | | Differential Revision: http://reviews.llvm.org/D20641 llvm-svn: 270755 | ||||
| * | [libFuzzer] print stats if we crash on empty input | Kostya Serebryany | 2016-05-25 | 3 | -0/+23 | 
| | | | | | llvm-svn: 270639 | ||||
| * | [libfuzzer] Trying random unit prefixes during corpus load. | Mike Aizatsky | 2016-05-24 | 1 | -0/+22 | 
| | | | | | | | Differential Revision: http://reviews.llvm.org/D20301 llvm-svn: 270632 | ||||
| * | [libFuzzer] print the file name before executing the input so that if there ↵ | Kostya Serebryany | 2016-05-13 | 1 | -2/+2 | 
| | | | | | | | is a crash we know which files has caused it llvm-svn: 269450 | ||||
| * | [libFuzzer] simplify FuzzerInterface.h | Kostya Serebryany | 2016-05-13 | 1 | -1/+1 | 
| | | | | | llvm-svn: 269448 | ||||
| * | [libFuzzer] add a test for libFuzzer+ubsan, extend the docs on using ↵ | Kostya Serebryany | 2016-05-09 | 4 | -0/+56 | 
| | | | | | | | libFuzzer+ubsan llvm-svn: 268968 | ||||
| * | [libFuzzer] enhance -rss_limit_mb and enable by default. Now it will print ↵ | Kostya Serebryany | 2016-05-06 | 3 | -0/+36 | 
| | | | | | | | the OOM reproducer. llvm-svn: 268821 | ||||
| * | [libFuzzer] print stats after running individual inputs | Kostya Serebryany | 2016-05-04 | 1 | -0/+4 | 
| | | | | | llvm-svn: 268547 | ||||
| * | [libFuzzer] enable detect_leaks=1, add proper docs | Kostya Serebryany | 2016-04-29 | 1 | -1/+1 | 
| | | | | | llvm-svn: 268088 | ||||
| * | [libFuzzer] disable leak detection if we have tried it for 1000 times w/o ↵ | Kostya Serebryany | 2016-04-27 | 1 | -1/+2 | 
| | | | | | | | finding a leak [part 2] llvm-svn: 267771 | ||||
| * | [libFuzzer] disable leak detection if we have tried it for 1000 times w/o ↵ | Kostya Serebryany | 2016-04-27 | 2 | -0/+18 | 
| | | | | | | | finding a leak llvm-svn: 267770 | ||||
| * | [libFuzzer] added -detect_leaks flag (0 by default for now). When enabled, ↵ | Kostya Serebryany | 2016-04-20 | 2 | -4/+21 | 
| | | | | | | | it will help finding leaks while fuzzing llvm-svn: 266838 | ||||
| * | [libFuzzer] try to print correct time in seconds when reporting a timeout. ↵ | Kostya Serebryany | 2016-04-18 | 1 | -1/+1 | 
| | | | | | | | Don't report timeouts while still loading the corpus. llvm-svn: 266693 | ||||
| * | [libFuzzer] warn if the corpus is empty | Kostya Serebryany | 2016-04-18 | 1 | -0/+1 | 
| | | | | | llvm-svn: 266670 | ||||
| * | [libFuzzer] add a better warning for command line flags with -- (two dashes) | Kostya Serebryany | 2016-04-15 | 1 | -0/+2 | 
| | | | | | llvm-svn: 266480 | ||||
| * | [libfuzzer] adding license headers to cpp files | Mike Aizatsky | 2016-04-01 | 27 | -0/+81 | 
| | | | | | | | Differential Revision: http://reviews.llvm.org/D18705 llvm-svn: 265174 | ||||
| * | [libFuzzer] don't report memory leaks if we are dying due to a timeout (just ↵ | Kostya Serebryany | 2016-03-24 | 4 | -4/+24 | 
| | | | | | | | use _Exit instead of exit in the timeout callback) llvm-svn: 264237 | ||||
| * | [libFuzzer] add a flag close_fd_mask so that we can silence spammy targets ↵ | Kostya Serebryany | 2016-03-18 | 3 | -0/+48 | 
| | | | | | | | by closing stderr/stdout llvm-svn: 263831 | ||||
| * | [libFuzzer] read corpus dirs recursively | Kostya Serebryany | 2016-03-18 | 1 | -0/+9 | 
| | | | | | llvm-svn: 263773 | ||||
| * | [libFuzzer] improve -merge functionality | Kostya Serebryany | 2016-03-18 | 2 | -15/+16 | 
| | | | | | llvm-svn: 263769 | ||||
| * | [libFuzzer] deprecate several flags | Kostya Serebryany | 2016-03-17 | 2 | -2/+2 | 
| | | | | | llvm-svn: 263739 | ||||
| * | [libfuzzer] adding std:string to allowed adaptable argument. | Mike Aizatsky | 2016-03-04 | 1 | -0/+9 | 
| | | | | | llvm-svn: 262757 | ||||
| * | [libfuzzer] arbitrary function adapter. | Mike Aizatsky | 2016-03-03 | 4 | -0/+124 | 
| | | | | | | | | | | The adapter automates converting sequence of bytes into arbitrary arguments. Differential Revision: http://reviews.llvm.org/D17829 llvm-svn: 262673 | ||||
| * | [libFuzzer] add generic signal handlers so that libFuzzer can report at ↵ | Kostya Serebryany | 2016-03-01 | 2 | -1/+5 | 
| | | | | | | | least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag. llvm-svn: 262415 | ||||
| * | [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 | 1 | -0/+1 | 
| | | | | | llvm-svn: 262102 | ||||
| * | [libFuzzer] add -print_final_stats=1 flag | Kostya Serebryany | 2016-02-26 | 1 | -0/+8 | 
| | | | | | llvm-svn: 262084 | ||||
| * | [libFuzzer] initial implementation of path coverage based on ↵ | Kostya Serebryany | 2016-02-26 | 3 | -0/+27 | 
| | | | | | | | -fsanitize-coverage=trace-pc. This does not scale well yet, but already cracks FullCoverageSetTest in seconds llvm-svn: 262073 | ||||
| * | [libFuzzer] fix the libFuzzer bot | Kostya Serebryany | 2016-02-18 | 1 | -1/+1 | 
| | | | | | llvm-svn: 261184 | ||||
| * | [libFuzzer] don't require seed in fuzzer::Mutate, instead use the global ↵ | Kostya Serebryany | 2016-02-13 | 1 | -4/+12 | 
| | | | | | | | Fuzzer object for fuzzer::Mutate. This makes custom mutators fast llvm-svn: 260810 | ||||
| * | [libFuzzer] get rid of UserSuppliedFuzzer; NFC | Kostya Serebryany | 2016-02-13 | 3 | -3/+4 | 
| | | | | | llvm-svn: 260798 | ||||
| * | [libFuzzer] simplify the code around Random. NFC | Kostya Serebryany | 2016-02-13 | 1 | -11/+11 | 
| | | | | | llvm-svn: 260797 | ||||
| * | [libFuzzer] remove UserSuppliedFuzzer from the interface (it was a bad idea). | Kostya Serebryany | 2016-02-13 | 3 | -54/+0 | 
| | | | | | llvm-svn: 260796 | ||||
| * | [libFuzzer] provide a plain C interface for custom mutators (experimental) | Kostya Serebryany | 2016-02-13 | 3 | -0/+32 | 
| | | | | | llvm-svn: 260794 | ||||
| * | [libFuzzer] make -runs=N flag also affect the simple runner (will execute ↵ | Kostya Serebryany | 2016-02-12 | 3 | -1/+23 | 
| | | | | | | | every input N times) llvm-svn: 260649 | ||||
| * | [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 | 3 | -0/+15 | 
| | | | | | | | don't know which unit causes the leak) llvm-svn: 259731 | ||||
| * | [libFuzzer] allow passing 1 or more files as individual inputs | Kostya Serebryany | 2016-02-02 | 1 | -0/+12 | 
| | | | | | llvm-svn: 259459 | ||||
| * | [libFuzzer] fail if the corpus dir does not exist | Kostya Serebryany | 2016-02-02 | 1 | -0/+3 | 
| | | | | | llvm-svn: 259454 | ||||
| * | [libFuzzer] add -timeout_exitcode option | Kostya Serebryany | 2016-01-29 | 1 | -0/+1 | 
| | | | | | 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 | ||||

