| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
the linker. Add no-msan attribute to the memcmp hook.
llvm-svn: 286665
|
|
|
|
| |
llvm-svn: 285262
|
|
|
|
|
|
| |
with -exit_on_src_pos, symbolize every PC only once
llvm-svn: 285223
|
|
|
|
| |
llvm-svn: 285147
|
|
|
|
| |
llvm-svn: 285145
|
|
|
|
| |
llvm-svn: 285142
|
|
|
|
|
|
| |
available, add a test
llvm-svn: 285049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 284301
|
|
|
|
|
|
| |
instructions). This is a reincarnation of the previously deleted -use_traces, but using a different approach for collecting traces. Still a toy, but at least it scales well. Also fix -merge in trace-pc-guard mode
llvm-svn: 284273
|
|
|
|
|
|
| |
fix for gcc build
llvm-svn: 284132
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit r283946.
This breaks when build with GCC:
lib/Fuzzer/FuzzerTracePC.cpp:169:6: error: always_inline function might not be inlinable [-Werror=attributes]
lib/Fuzzer/FuzzerTracePC.cpp:169:6: error: inlining failed in call to always_inline 'void fuzzer::TracePC::HandleCmp(void*, T, T) [with T = long unsigned int]': target specific option mismatch
lib/Fuzzer/FuzzerTracePC.cpp:198:65: error: called from here
llvm-svn: 283979
|
|
|
|
| |
llvm-svn: 283946
|
|
|
|
|
|
| |
array, make sure we don't overflow it
llvm-svn: 283841
|
|
|
|
| |
llvm-svn: 283409
|
|
|
|
| |
llvm-svn: 283286
|
|
|
|
| |
llvm-svn: 283021
|
|
|
|
|
|
| |
the corpus smaller, off by default
llvm-svn: 282995
|
|
|
|
|
|
| |
the feature counter of the old best input
llvm-svn: 282829
|
|
|
|
|
|
| |
one array of guards per function, instead of one guard per BB. reorganize the code so that trace-pc-guard does not create unneeded globals
llvm-svn: 282735
|
|
|
|
| |
llvm-svn: 282562
|
|
|
|
|
|
| |
for RE2 that uses this flag
llvm-svn: 282458
|
|
|
|
|
|
| |
and collecting their features.
llvm-svn: 282316
|
|
|
|
| |
llvm-svn: 282222
|
|
|
|
| |
llvm-svn: 282216
|
|
|
|
|
|
| |
> MaxSize, fix sha1 in corpus stats; various refactorings
llvm-svn: 282129
|
|
|
|
| |
llvm-svn: 282113
|
|
|
|
| |
llvm-svn: 282044
|
|
|
|
|
|
| |
libFuzzer
llvm-svn: 281866
|
|
|
|
|
|
| |
the guard type to intptr_t; use separate array for 8-bit counters
llvm-svn: 281845
|
|
|
|
|
|
| |
to fix check-fuzzer on the bot
llvm-svn: 281814
|
|
|
|
| |
llvm-svn: 281810
|
|
|
|
| |
llvm-svn: 281667
|
|
|
|
|
|
| |
trace-pc-guard heuristic for 8-bit counters to look more like in AFL (not that it's provable better, but the existin test preferes this heuristic)
llvm-svn: 281577
|
|
|
|
| |
llvm-svn: 281568
|
|
|
|
| |
llvm-svn: 281435
|
|
|
|
| |
llvm-svn: 279143
|
|
|
|
| |
llvm-svn: 278825
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calls to this function are currently injected by the
``SanitizerCoverageModule`` pass when the both the ``indirect-calls``
and ``trace-pc`` sanitizer coverage options are enabled and the code
being instrumented has indirect calls. Previously because LibFuzzer did
not define this function this would lead to link errors when building
some of the tests on OSX.
Differential Revision: http://reviews.llvm.org/D20946
llvm-svn: 271938
|
|
|
|
|
|
|
|
|
| |
It is now less state-dependent and will allow easier comparing of
coverages of different units.
Differential Revision: http://reviews.llvm.org/D20085
llvm-svn: 269140
|
|
|
|
| |
llvm-svn: 262102
|
|
-fsanitize-coverage=trace-pc. This does not scale well yet, but already cracks FullCoverageSetTest in seconds
llvm-svn: 262073
|