| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 289481
|
|
|
|
| |
llvm-svn: 289477
|
|
|
|
| |
llvm-svn: 289469
|
|
|
|
| |
llvm-svn: 289467
|
|
|
|
| |
llvm-svn: 289368
|
|
|
|
| |
llvm-svn: 289314
|
|
|
|
| |
llvm-svn: 289313
|
|
|
|
| |
llvm-svn: 289312
|
|
|
|
|
|
| |
-fsanitize-coverage=trace-pc-guard. Support for the previosly used instrumentation will be removed in the following changes
llvm-svn: 289311
|
|
|
|
|
|
| |
name while printing the coverage
llvm-svn: 289310
|
|
|
|
|
|
| |
(https://github.com/google/sanitizers/issues/722). This is a first experimental variant that needs some more testing, thus not yet adding a lit test (but there are unit tests).
llvm-svn: 289166
|
|
|
|
|
|
| |
Dejan Mircevski
llvm-svn: 288979
|
|
|
|
|
|
| |
ways. Also initialize a couple of Fuzzer:: members that might have been used uninitialized :(
llvm-svn: 288731
|
|
|
|
|
|
|
|
| |
This resubmits r288529, which was resubmitted because it broke a
fuzzer bot. According to kcc@ the test that broke was flakey
and it is unlikely to be a result of this patch.
llvm-svn: 288549
|
|
|
|
|
|
|
| |
This reverts commit r288529, as it seems to introduce some
problems on the Linux bots.
llvm-svn: 288533
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows doesn't really support weak aliases, but with some
linker magic we can get something that's pretty close on
Windows. This introduces an interface to accessing weakly
aliased symbols that will work on any platform. Linker
magic changes to come in a separate patch.
Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27235
llvm-svn: 288530
|
|
|
|
|
|
|
|
|
|
| |
Pave the way for separating out platform specific
utility functions into separate files.
Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27234
llvm-svn: 288529
|
|
|
|
| |
llvm-svn: 288392
|
|
|
|
| |
llvm-svn: 288389
|
|
|
|
|
|
| |
instrumented code. also revert r288299 which was a workaround for the problem.
llvm-svn: 288300
|
|
|
|
| |
llvm-svn: 288299
|
|
|
|
|
|
| |
exceeds the limit
llvm-svn: 288281
|
|
|
|
|
|
| |
covered dirs. Note: the Windows stub for DirName is left unimplemented
llvm-svn: 288276
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch moves some posix specific file i/o code into a new
file, FuzzerIOPosix.cpp, and provides implementations for these
functions on Windows in FuzzerIOWindows.cpp. This is another
incremental step towards getting libfuzzer working on Windows,
although it still should not be expected to be fully working.
Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27233
llvm-svn: 288275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In an effort to get libfuzzer working on Windows, we need to make
a distinction between what functions require platform specific
code (e.g. different code on Windows vs Linux) and what code
doesn't. IO functions, for example, tend to be platform
specific.
This patch separates out some of the functions which will need
to have platform specific implementations into different headers,
so that we can then provide different implementations for each
platform.
Aside from that, this patch contains no functional change. It
is purely a re-organization.
Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27230
llvm-svn: 288264
|
|
|
|
|
|
|
|
|
|
|
| |
This is the beginning of an effort to get libfuzzer working on
Windows. This is a NFC to just add some macros for platform
detection on Windows.
Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27229
llvm-svn: 288249
|
|
|
|
| |
llvm-svn: 286870
|
|
|
|
| |
llvm-svn: 286702
|
|
|
|
| |
llvm-svn: 286689
|
|
|
|
|
|
| |
the linker. Add no-msan attribute to the memcmp hook.
llvm-svn: 286665
|
|
|
|
| |
llvm-svn: 285958
|
|
|
|
| |
llvm-svn: 285353
|
|
|
|
| |
llvm-svn: 285262
|
|
|
|
| |
llvm-svn: 285260
|
|
|
|
| |
llvm-svn: 285259
|
|
|
|
|
|
| |
with -exit_on_src_pos, symbolize every PC only once
llvm-svn: 285223
|
|
|
|
| |
llvm-svn: 285147
|
|
|
|
| |
llvm-svn: 285145
|
|
|
|
| |
llvm-svn: 285142
|
|
|
|
| |
llvm-svn: 285135
|
|
|
|
|
|
| |
desired bytes. Add another test for use_cmp
llvm-svn: 285109
|
|
|
|
|
|
| |
available, add a test
llvm-svn: 285049
|
|
|
|
|
|
| |
ways to mutate a binary integer
llvm-svn: 284909
|
|
|
|
| |
llvm-svn: 284903
|
|
|
|
| |
llvm-svn: 284902
|
|
|
|
| |
llvm-svn: 284838
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and files.
Example of output:
COVERAGE:
COVERED: in DSO2(int) /pathto/DSO2.cpp:6
COVERED: in DSO2(int) /pathto/DSO2.cpp:8
COVERED: in DSO1(int) /pathto/DSO1.cpp:6
COVERED: in DSO1(int) /pathto/DSO1.cpp:8
COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:16
COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:19
COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:25
COVERED: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:26
MODULE_WITH_COVERAGE: /pathto/libLLVMFuzzer-DSO1.so
UNCOVERED_LINE: in DSO1(int) /pathto/DSO1.cpp:9
UNCOVERED_FUNC: in Uncovered1()
MODULE_WITH_COVERAGE: /pathto/libLLVMFuzzer-DSO2.so
UNCOVERED_LINE: in DSO2(int) /pathto/DSO2.cpp:9
UNCOVERED_FUNC: in Uncovered2()
MODULE_WITH_COVERAGE: /pathto/LLVMFuzzer-DSOTest
UNCOVERED_LINE: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:21
UNCOVERED_LINE: in LLVMFuzzerTestOneInput /pathto/DSOTestMain.cpp:27
UNCOVERED_FILE: /pathto/DSOTestExtra.cpp
Several things are not perfect here:
* we are using objdump+awk instead of sancov because sancov does not support DSOs yet.
* this breaks in the presence of ASAN_OPTIONS=strip_path_prefix=...
(need to implement another API to get the module name by PC)
llvm-svn: 284554
|
|
|
|
|
|
| |
(./fuzzer -runs=1000000 my-file)
llvm-svn: 284514
|
|
|
|
| |
llvm-svn: 284508
|
|
|
|
| |
llvm-svn: 284301
|