|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| | the main fuzzing thread, print the message in the getrusage thread and exit.
llvm-svn: 270945 | 
| | 
| 
| 
| 
| 
| | function declarations. Add a test for -only_ascii. NFC intended
llvm-svn: 270900 | 
| | 
| 
| 
| 
| 
| 
| 
| | On Linux ``rusage.ru_maxrss`` is in KiB but on Mac OSX it is in bytes.
Differential Revision: http://reviews.llvm.org/D20410
llvm-svn: 270173 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | The ``nprocs`` command does not exist under Mac OSX so use
``sysctl`` instead on that platform.
Whilst I'm here
* Use ``pclose()`` instead of ``fclose()`` which the ``popen()``
  documentation says should be used.
* Check for errors that were previously unhandled.
Differential Revision: http://reviews.llvm.org/D20409
llvm-svn: 270172 | 
| | 
| 
| 
| 
| 
| | the OOM reproducer.
llvm-svn: 268821 | 
| | 
| 
| 
| | llvm-svn: 264338 | 
| | 
| 
| 
| 
| 
| 
| 
| | - unused sigaction/setitimer result (used in assert)
- unchecked fscanf return value
- signed/unsigned comparison
llvm-svn: 262472 | 
| | 
| 
| 
| 
| 
| | least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag.
llvm-svn: 262415 | 
| | 
| 
| 
| | llvm-svn: 262084 | 
| | 
| 
| 
| | llvm-svn: 260829 | 
| | 
| 
| 
| 
| 
| | to avoid memory allocations on hot path
llvm-svn: 257985 | 
| | 
| 
| 
| 
| 
| | allocations
llvm-svn: 257713 | 
| | 
| 
| 
| 
| 
| | dictionary entries
llvm-svn: 257435 | 
| | 
| 
| 
| 
| 
| | Since libFuzzer should not depend on anything, just re-implement base64 encoder. PR25746
llvm-svn: 254784 | 
| | 
| 
| 
| 
| 
| | Aizatsky's idea)
llvm-svn: 252838 | 
| | 
| 
| 
| | llvm-svn: 252123 | 
| | 
| 
| 
| | llvm-svn: 250571 | 
| | 
| 
| 
| | llvm-svn: 246800 | 
| | 
| 
| 
| 
| 
| | remove ugly #ifdef
llvm-svn: 246689 | 
| | 
| 
| 
| | llvm-svn: 244559 | 
| | 
| 
| 
| | llvm-svn: 238081 | 
| | 
| 
| 
| 
| 
| | CORPUS' to synchronize with other processes
llvm-svn: 237617 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| | llvm-svn: 237198 | 
| | 
| 
| 
| 
| 
| | -workers=M is not. Update the docs.
llvm-svn: 237163 | 
| | 
| 
| 
| | llvm-svn: 233842 | 
| | 
| 
| 
| 
| 
| | flags.
llvm-svn: 233745 | 
| | 
| 
| 
| 
| 
| | fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset.
llvm-svn: 227464 | 
| | 
| 
| 
| 
| 
| | for MSVC users. This reverts: 227445, 227395, 227389, 227357, 227254, 227252
llvm-svn: 227452 | 
|  | 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 |