1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Fuzzer
Matt Morehouse 38756d86aa [SanitizerCoverage] Add stack depth tracing instrumentation.
Summary:
Augment SanitizerCoverage to insert maximum stack depth tracing for
use by libFuzzer.  The new instrumentation is enabled by the flag
-fsanitize-coverage=stack-depth and is compatible with the existing
trace-pc-guard coverage.  The user must also declare the following
global variable in their code:
  thread_local uintptr_t __sancov_lowest_stack

https://bugs.llvm.org/show_bug.cgi?id=33857

Reviewers: vitalybuka, kcc

Reviewed By: vitalybuka

Subscribers: kubamracek, hiraditya, cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D36839

llvm-svn: 311186
2017-08-18 18:43:30 +00:00
..
afl [libFuzzer] update the comments in afl/afl_driver.cpp 2017-07-14 00:18:37 +00:00
standalone
test [libFuzzer] explicitly use -fsanitize-coverage=trace-pc-guard in test/dump_coverage.test; mark print_coverage/dump_coverage as To-be-deprecated 2017-08-14 19:55:23 +00:00
build.sh
CMakeLists.txt [CMake] Add install target for LLVMFuzzer 2017-08-14 23:37:31 +00:00
cxx.dict
FuzzerClangCounters.cpp [libFuzzer] experimental support for Clang's coverage (fprofile-instr-generate), Linux-only 2017-08-11 23:03:22 +00:00
FuzzerCorpus.h [libFuzzer] when adding a reduced input print REDUCED instead of NEW 2017-07-18 18:47:36 +00:00
FuzzerCrossOver.cpp
FuzzerDefs.h [libFuzzer] experimental support for Clang's coverage (fprofile-instr-generate), Linux-only 2017-08-11 23:03:22 +00:00
FuzzerDictionary.h
FuzzerDriver.cpp [libFuzzer] reimplement experimental_len_control=1: bump the temporary max_len every time we failed to find new coverage during the last 1000 runs and 1 second. Also fix FileToVector to not load unfinished files 2017-07-22 00:10:29 +00:00
FuzzerExtFunctions.def
FuzzerExtFunctions.h
FuzzerExtFunctionsDlsym.cpp
FuzzerExtFunctionsDlsymWin.cpp Fix the includes in lib/Fuzzer on Windows that have ordering 2017-06-06 23:28:01 +00:00
FuzzerExtFunctionsWeak.cpp [LibFuzzer] Fix -Wpedantic warning reported by Eric Christopher. 2017-07-11 18:27:48 +00:00
FuzzerExtFunctionsWeakAlias.cpp
FuzzerExtraCounters.cpp
FuzzerFlags.def [libFuzzer] explicitly use -fsanitize-coverage=trace-pc-guard in test/dump_coverage.test; mark print_coverage/dump_coverage as To-be-deprecated 2017-08-14 19:55:23 +00:00
FuzzerInterface.h
FuzzerInternal.h [libFuzzer] reimplement experimental_len_control=1: bump the temporary max_len every time we failed to find new coverage during the last 1000 runs and 1 second. Also fix FileToVector to not load unfinished files 2017-07-22 00:10:29 +00:00
FuzzerIO.cpp [libFuzzer] reimplement experimental_len_control=1: bump the temporary max_len every time we failed to find new coverage during the last 1000 runs and 1 second. Also fix FileToVector to not load unfinished files 2017-07-22 00:10:29 +00:00
FuzzerIO.h
FuzzerIOPosix.cpp
FuzzerIOWindows.cpp [LibFuzzer] Fix -Wcomment warning emitted by GCC. 2017-07-11 18:27:52 +00:00
FuzzerLoop.cpp [libFuzzer] try to use less RAM while processing the initial corpus 2017-08-14 20:34:35 +00:00
FuzzerMain.cpp
FuzzerMerge.cpp [libFuzzer] Allow non-fuzzer args after -ignore_remaining_args=1 2017-07-14 23:33:04 +00:00
FuzzerMerge.h
FuzzerMutate.cpp [libFuzzer] remove stale code; NFC 2017-07-14 00:16:23 +00:00
FuzzerMutate.h [libFuzzer] remove stale code; NFC 2017-07-14 00:16:23 +00:00
FuzzerOptions.h [libFuzzer] refactoring in preparation for -reduce_inputs; NFC intended 2017-07-12 22:20:04 +00:00
FuzzerRandom.h
FuzzerSHA1.cpp
FuzzerSHA1.h
FuzzerShmem.h
FuzzerShmemPosix.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
FuzzerShmemWindows.cpp Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
FuzzerTracePC.cpp [SanitizerCoverage] Add stack depth tracing instrumentation. 2017-08-18 18:43:30 +00:00
FuzzerTracePC.h [SanitizerCoverage] Add stack depth tracing instrumentation. 2017-08-18 18:43:30 +00:00
FuzzerUtil.cpp [libFuzzer] remove stale code 2017-08-08 00:14:49 +00:00
FuzzerUtil.h [libFuzzer] remove stale code 2017-08-08 00:14:49 +00:00
FuzzerUtilDarwin.cpp FuzzerUtilDarwin.cpp: We need to pass modifiable strings to posix_spawn 2017-07-07 18:53:24 +00:00
FuzzerUtilLinux.cpp
FuzzerUtilPosix.cpp
FuzzerUtilWindows.cpp Fix the includes in lib/Fuzzer on Windows that have ordering 2017-06-06 23:28:01 +00:00
FuzzerValueBitMap.h [libFuzzer] delete stale code 2017-07-20 20:15:13 +00:00
README.txt

Move to http://llvm.org/docs/LibFuzzer.html