diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/libfuzzer/ya.make | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'contrib/libs/libfuzzer/ya.make')
-rw-r--r-- | contrib/libs/libfuzzer/ya.make | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/contrib/libs/libfuzzer/ya.make b/contrib/libs/libfuzzer/ya.make new file mode 100644 index 0000000000..a4f5ab64b0 --- /dev/null +++ b/contrib/libs/libfuzzer/ya.make @@ -0,0 +1,72 @@ +# Generated by devtools/yamaker from nixpkgs 22.05. + +LIBRARY() + +LICENSE( + Apache-2.0 AND + Apache-2.0 WITH LLVM-exception AND + MIT AND + NCSA AND + Public-Domain +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +VERSION(15.0.5) + +ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-15.0.5.tar.gz) + +SET(SANITIZER_CFLAGS) + +NO_COMPILER_WARNINGS() + +NO_UTIL() + +IF (SANITIZE_COVERAGE MATCHES "trace-pc") + MESSAGE(FATAL_ERROR "I will crash you with trace-pc or trace-pc-guard. Use inline-8bit-counters.") +ENDIF() + +NO_SANITIZE_COVERAGE() + +IF (SANITIZER_TYPE == "undefined") + NO_SANITIZE() +ENDIF() + +IF (OS_WINDOWS) + SRCS( + lib/fuzzer/standalone/StandaloneFuzzTargetMain.c + ) +ELSE() + SRCS( + lib/fuzzer/FuzzerCrossOver.cpp + lib/fuzzer/FuzzerDataFlowTrace.cpp + lib/fuzzer/FuzzerDriver.cpp + lib/fuzzer/FuzzerExtFunctionsDlsym.cpp + lib/fuzzer/FuzzerExtFunctionsWeak.cpp + lib/fuzzer/FuzzerExtFunctionsWindows.cpp + lib/fuzzer/FuzzerExtraCounters.cpp + lib/fuzzer/FuzzerExtraCountersDarwin.cpp + lib/fuzzer/FuzzerExtraCountersWindows.cpp + lib/fuzzer/FuzzerFork.cpp + lib/fuzzer/FuzzerIO.cpp + lib/fuzzer/FuzzerIOPosix.cpp + lib/fuzzer/FuzzerIOWindows.cpp + lib/fuzzer/FuzzerLoop.cpp + lib/fuzzer/FuzzerMain.cpp + lib/fuzzer/FuzzerMerge.cpp + lib/fuzzer/FuzzerMutate.cpp + lib/fuzzer/FuzzerSHA1.cpp + lib/fuzzer/FuzzerTracePC.cpp + lib/fuzzer/FuzzerUtil.cpp + lib/fuzzer/FuzzerUtilDarwin.cpp + lib/fuzzer/FuzzerUtilLinux.cpp + lib/fuzzer/FuzzerUtilPosix.cpp + lib/fuzzer/FuzzerUtilWindows.cpp + ) +ENDIF() + +END() + +RECURSE( + lib/fuzzer/afl +) |