llvm-project/llvm/test/Instrumentation/SanitizerCoverage
Matt Morehouse 7e042bb1d1 [libFuzzer] Port to Windows
Summary:
Port libFuzzer to windows-msvc.
This patch allows libFuzzer targets to be built and run on Windows, using -fsanitize=fuzzer and/or fsanitize=fuzzer-no-link. It allows these forms of coverage instrumentation to work on Windows as well.
It does not fix all issues, such as those with -fsanitize-coverage=stack-depth, which is not usable on Windows as of this patch.
It also does not fix any libFuzzer integration tests. Nearly all of them fail to compile, fixing them will come in a later patch, so libFuzzer tests are disabled on Windows until them.

Patch By: metzman

Reviewers: morehouse, rnk

Reviewed By: morehouse, rnk

Subscribers: #sanitizers, delcypher, morehouse, kcc, eraman

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

llvm-svn: 341082
2018-08-30 15:54:44 +00:00
..
abort-in-entry-block.ll [sanitizer-coverage] don't instrument a function if it's entry block ends with 'unreachable' 2018-05-11 01:09:39 +00:00
chains.ll Fix coverage check for full post-dominator basic blocks. 2017-05-25 01:41:46 +00:00
cmp-tracing-api-x86_32.ll [sancov] Fix PR33732 2017-07-18 11:47:56 +00:00
cmp-tracing-api-x86_64.ll [sancov] Fix PR33732 2017-07-18 11:47:56 +00:00
cmp-tracing.ll
coff-pc-table-inline-8bit-counters.ll [libFuzzer] Port to Windows 2018-08-30 15:54:44 +00:00
const-cmp-tracing.ll [sanitizer-coverage] Change cmp instrumentation to distinguish const operands 2017-08-10 15:00:13 +00:00
coverage-dbg.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
coverage.ll [sanitizer-coverage] remove stale code (old coverage); llvm part 2017-05-31 18:27:33 +00:00
coverage2-dbg.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
div-tracing.ll
gep-tracing.ll
inline-8bit-counters.ll [sanitizer-coverage] ensure minimal alignment for coverage counters and guards 2017-07-31 19:49:45 +00:00
no-func.ll
pc-table.ll [sanitizer-coverage] extend fsanitize-coverage=pc-table with flags for every PC 2017-08-25 19:29:47 +00:00
postdominator_check.ll Fix coverage check for full post-dominator basic blocks. 2017-05-25 01:41:46 +00:00
seh.ll [sanitizer-coverage] remove stale code (old coverage); llvm part 2017-05-31 18:27:33 +00:00
stack-depth.ll [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer 2017-08-30 22:49:31 +00:00
switch-tracing.ll
trace-pc-guard-comdat.ll
trace-pc-guard-nocomdat.ll
tracing-comdat.ll
tracing.ll [sanitizer-coverage] don't instrument available_externally functions 2017-07-31 20:00:22 +00:00
wineh.ll