| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This change only removes libFuzzer tests and CMake machinery,
the source copy temporarily remains at the old location.
Differential Revision: https://reviews.llvm.org/D36980
llvm-svn: 311405
|
|
|
|
| |
llvm-svn: 311294
|
|
|
|
|
|
| |
test/dump_coverage.test; mark print_coverage/dump_coverage as To-be-deprecated
llvm-svn: 310877
|
|
|
|
|
|
| |
(fprofile-instr-generate), Linux-only
llvm-svn: 310771
|
|
|
|
| |
llvm-svn: 310750
|
|
|
|
| |
llvm-svn: 310324
|
|
|
|
|
|
| |
to implement -exit_on_src_pos
llvm-svn: 310151
|
|
|
|
| |
llvm-svn: 310126
|
|
|
|
| |
llvm-svn: 310113
|
|
|
|
| |
llvm-svn: 310110
|
|
|
|
| |
llvm-svn: 310106
|
|
|
|
|
|
| |
-DLIBFUZZER_ENABLE_TESTS=ON is set.
llvm-svn: 310100
|
|
|
|
| |
llvm-svn: 310091
|
|
|
|
|
|
| |
present.
llvm-svn: 310077
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D36205
llvm-svn: 310076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This revision ports all libFuzzer tests apart from the unittest to LIT.
The advantages of doing so include:
- Tests being self-contained
- Much easier debugging of a single test
- No need for using a two-stage compilation
The unit-test is still compiled using CMake, but it does not need a
freshly built compiler.
NOTE: The previous two-stage bot configuration will NOT work, as in the
second stage build LLVM_USE_SANITIZER is set, which disables ASAN from
being built.
Thus bots will be reconfigured in the next few commits.
Differential Revision: https://reviews.llvm.org/D36295
llvm-svn: 310075
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D36242
llvm-svn: 309982
|
|
|
|
|
|
|
|
| |
This reverts commit 3592d8049660dcdd07f7c2e797f2de9790f93111.
Breaks the bots, reverting for now.
llvm-svn: 309899
|
|
|
|
|
|
|
|
|
| |
LIT launches executables with absolute, and not relative, path.
strncmp would try to do exact comparison and fail.
Differential Revision: https://reviews.llvm.org/D36242
llvm-svn: 309889
|
|
|
|
|
|
| |
test/fuzzer-printcovpcs.test until this can be fixed on Windows
llvm-svn: 309716
|
|
|
|
|
|
| |
Inline8bitCounters
llvm-svn: 309647
|
|
|
|
| |
llvm-svn: 309646
|
|
|
|
|
|
| |
flags for one test (for now)
llvm-svn: 309615
|
|
|
|
|
|
| |
and faster)
llvm-svn: 309443
|
|
|
|
| |
llvm-svn: 308945
|
|
|
|
|
|
|
|
|
|
| |
tests""
This reverts commit 15425f2bc6eac6249ee957a2a280511306c07547.
Should work now that atos is a default symbolizer on Darwin.
llvm-svn: 308910
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Implements https://github.com/google/sanitizers/issues/835.
Flush stdout before exiting in test cases.
Since the atexit hook is used for exit reports, pending prints to
stdout can be lost if they aren't flushed before calling exit().
Expect tests to have non-zero exit code if exit() is called.
Reviewers: vitalybuka, kcc
Reviewed By: kcc
Subscribers: eraman, llvm-commits, hiraditya
Differential Revision: https://reviews.llvm.org/D35602
llvm-svn: 308669
|
|
|
|
|
|
| |
is saved to the corpus
llvm-svn: 308653
|
|
|
|
|
|
| |
(commented out; real implementation needs to use inlined instrumentation)
llvm-svn: 308577
|
|
|
|
|
|
| |
https://guidovranken.wordpress.com/2017/07/08/libfuzzer-gv-new-techniques-for-dramatically-faster-fuzzing/ (Stack-depth-guided fuzzing). libFuzzer does not solve it yet.
llvm-svn: 308571
|
|
|
|
| |
llvm-svn: 308568
|
|
|
|
| |
llvm-svn: 308560
|
|
|
|
|
|
| |
reduce_inputs=1 they are now fast enough even w/o this
llvm-svn: 308553
|
|
|
|
|
|
|
|
|
|
|
| |
The optional external function callbacks have to be exported in order
for them to be called. The test was failing because libFuzzer wasn't
calling LLVMFuzzerInitialize.
We can reconsider if this is the best way to mark these optional
callbacks exported later.
llvm-svn: 308548
|
|
|
|
| |
llvm-svn: 308541
|
|
|
|
|
|
| |
of very input (seems to work much better)
llvm-svn: 308253
|
|
|
|
| |
llvm-svn: 308246
|
|
|
|
|
|
|
|
| |
This reverts commit 546e006a023cccd0fd32afd442ab992d3515d4b8.
Reverting until I can figure out llvm-symbolizer breakages on mac os.
llvm-svn: 308202
|
|
|
|
| |
llvm-svn: 308075
|
|
|
|
|
|
|
|
|
|
|
| |
With this change, libFuzzer will ignore any arguments after a sigil
argument, but it will preserve these arguments at the end of the
command line when launching subprocesses. Using this, its possible to
handle positional and single-dash arguments to the program under test
by discarding everything up to -ignore_remaining_args=1 in
LLVMFuzzerInitialize.
llvm-svn: 308069
|
|
|
|
| |
llvm-svn: 307980
|
|
|
|
| |
llvm-svn: 307977
|
|
|
|
|
|
| |
corpus
llvm-svn: 307875
|
|
|
|
|
|
| |
to replace elements in the corpus with smaller ones that have the same feature set. Still needs tuning
llvm-svn: 307873
|
|
|
|
| |
llvm-svn: 307862
|
|
|
|
|
|
|
|
|
| |
Some libFuzzer tests on Linux would fail with bizarre error messages
unless llvm-symbolizer binary is present.
Differential Revision: https://reviews.llvm.org/D35313
llvm-svn: 307826
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D35312
llvm-svn: 307824
|
|
|
|
|
|
| |
cases where libFuzzer is run w/o initial corpus or with a corpus of very small items.
llvm-svn: 305521
|
|
|
|
|
|
| |
On Darwin, section names have a 16char length limit.
llvm-svn: 305429
|
|
|
|
|
|
| |
currently)
llvm-svn: 305346
|