| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 272240
|
|
|
|
|
|
| |
the coverage rt (it should now fail with a descriptive message)
llvm-svn: 272090
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes linking problems on OSX.
Unfortunately it turns out we need to use an instance of the
``fuzzer::ExternalFunctions`` object in several places so this
commit also replaces all instances with a single global instance.
It also turns out initializing a global ``fuzzer::ExternalFunctions``
before main is entered (i.e. letting the object be initialised by the
global initializers) is not safe (on OSX the call to ``Printf()`` in the
CTOR crashes if it is called from a global initializer) so we instead
have a global ``fuzzer::ExternalFunctions*`` and initialize it inside
``FuzzerDriver()``.
Multiple unit tests depend also depend on the
``fuzzer::ExternalFunctions*`` global so a ``main()`` function has been
added that initializes it before running any tests.
Differential Revision: http://reviews.llvm.org/D20943
llvm-svn: 272072
|
|
|
|
|
|
|
|
|
|
| |
This is necessary because the existing fuzzer-oom.test was Linux
specific due to its use of __sanitizer_print_memory_profile() which
is only available on Linux right now and so the test would fail on OSX.
Differential Revision: http://reviews.llvm.org/D20977
llvm-svn: 272061
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D21089
llvm-svn: 272054
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The option is very useful for testing, plus I intend to measure
its effect on fuzzer effectiveness.
Differential Revision: http://reviews.llvm.org/D21084
llvm-svn: 272035
|
|
|
|
| |
llvm-svn: 271980
|
|
|
|
|
|
|
|
| |
because LSan is not currently supported.
Differential Revision: http://reviews.llvm.org/D20947
llvm-svn: 271979
|
|
|
|
| |
llvm-svn: 271697
|
|
|
|
|
|
|
|
|
|
|
| |
tests on Apple platforms.
This fixes a broken part of the build on OSX as the dataflow sanitizer is not supported
on OSX yet.
Differential Revision: http://reviews.llvm.org/D20894
llvm-svn: 271492
|
|
|
|
|
|
| |
on OOM
llvm-svn: 271465
|
|
|
|
| |
llvm-svn: 271404
|
|
|
|
|
|
| |
caused a push_back in the main corpus invalidating the vector<> iterators in rare cases.
llvm-svn: 271186
|
|
|
|
|
|
| |
us to keep asan reports when closing target's stderr
llvm-svn: 271053
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 270947
|
|
|
|
|
|
| |
pointer to read from
llvm-svn: 270942
|
|
|
|
|
|
| |
on which we currently have a race (when reporting bugs from multiple threads)
llvm-svn: 270929
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
reproducer properly
llvm-svn: 270905
|
|
|
|
|
|
| |
function declarations. Add a test for -only_ascii. NFC intended
llvm-svn: 270900
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D20641
llvm-svn: 270755
|
|
|
|
| |
llvm-svn: 270639
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D20301
llvm-svn: 270632
|
|
|
|
|
|
| |
is a crash we know which files has caused it
llvm-svn: 269450
|
|
|
|
| |
llvm-svn: 269448
|
|
|
|
|
|
| |
libFuzzer+ubsan
llvm-svn: 268968
|
|
|
|
|
|
| |
the OOM reproducer.
llvm-svn: 268821
|
|
|
|
| |
llvm-svn: 268547
|
|
|
|
| |
llvm-svn: 268088
|
|
|
|
|
|
| |
finding a leak [part 2]
llvm-svn: 267771
|
|
|
|
|
|
| |
finding a leak
llvm-svn: 267770
|
|
|
|
|
|
| |
it will help finding leaks while fuzzing
llvm-svn: 266838
|
|
|
|
|
|
| |
Don't report timeouts while still loading the corpus.
llvm-svn: 266693
|
|
|
|
| |
llvm-svn: 266670
|
|
|
|
| |
llvm-svn: 266480
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D18705
llvm-svn: 265174
|
|
|
|
|
|
| |
use _Exit instead of exit in the timeout callback)
llvm-svn: 264237
|
|
|
|
|
|
| |
by closing stderr/stdout
llvm-svn: 263831
|
|
|
|
| |
llvm-svn: 263773
|
|
|
|
| |
llvm-svn: 263769
|
|
|
|
| |
llvm-svn: 263739
|
|
|
|
| |
llvm-svn: 262757
|
|
|
|
|
|
|
|
|
| |
The adapter automates converting sequence of bytes into arbitrary
arguments.
Differential Revision: http://reviews.llvm.org/D17829
llvm-svn: 262673
|
|
|
|
|
|
| |
least something if ASan is not handlig the signals for us. Remove abort_on_timeout flag.
llvm-svn: 262415
|
|
|
|
| |
llvm-svn: 262106
|
|
|
|
| |
llvm-svn: 262102
|
|
|
|
| |
llvm-svn: 262084
|
|
|
|
|
|
| |
-fsanitize-coverage=trace-pc. This does not scale well yet, but already cracks FullCoverageSetTest in seconds
llvm-svn: 262073
|
|
|
|
| |
llvm-svn: 261184
|