Home
last modified time | relevance | path

Searched full:fuzzer (Results 1 – 25 of 142) sorted by relevance

123456

/freebsd/lib/libclang_rt/fuzzer/
H A DMakefile3 LIB= clang_rt.fuzzer-${CRTARCH}
5 SRCS+= fuzzer/FuzzerCrossOver.cpp
6 SRCS+= fuzzer/FuzzerDataFlowTrace.cpp
7 SRCS+= fuzzer/FuzzerDriver.cpp
8 SRCS+= fuzzer/FuzzerExtFunctionsDlsym.cpp
9 SRCS+= fuzzer/FuzzerExtFunctionsWeak.cpp
10 SRCS+= fuzzer/FuzzerExtraCounters.cpp
11 SRCS+= fuzzer/FuzzerFork.cpp
12 SRCS+= fuzzer/FuzzerIO.cpp
13 SRCS+= fuzzer/FuzzerIOPosix.cpp
[all …]
/freebsd/lib/libclang_rt/fuzzer_no_main/
H A DMakefile5 SRCS+= fuzzer/FuzzerCrossOver.cpp
6 SRCS+= fuzzer/FuzzerDataFlowTrace.cpp
7 SRCS+= fuzzer/FuzzerDriver.cpp
8 SRCS+= fuzzer/FuzzerExtFunctionsDlsym.cpp
9 SRCS+= fuzzer/FuzzerExtFunctionsWeak.cpp
10 SRCS+= fuzzer/FuzzerExtraCounters.cpp
11 SRCS+= fuzzer/FuzzerFork.cpp
12 SRCS+= fuzzer/FuzzerIO.cpp
13 SRCS+= fuzzer/FuzzerIOPosix.cpp
14 SRCS+= fuzzer/FuzzerLoop.cpp
[all …]
/freebsd/crypto/openssl/fuzz/
H A DREADME.md15 Install `clang`, which [ships with `libfuzzer`](http://llvm.org/docs/LibFuzzer.html#fuzzer-usage)
23 `/usr/lib/llvm-7/lib/clang/7.0.1/lib/linux/libclang_rt.fuzzer-x86_64.a`.
26 --with-fuzzer-lib=$PATH_TO_LIBFUZZER \
29 -fsanitize=fuzzer-no-link \
43 fuzz/helper.py $FUZZER
45 where $FUZZER is one of the executables in `fuzz/`.
49 `fuzz/corpora/$FUZZER-crash/`.
59 a `--with-fuzzer-include` option, which should be the parent directory of the
60 prebuilt fuzzer library. This is represented as `$PATH_TO_LIBFUZZER_DIR` below.
63 --with-fuzzer-include=$PATH_TO_LIBFUZZER_DIR \
[all …]
H A Dhelper.py12 fuzzer.py <fuzzer> <extra fuzzer arguments>
19 FUZZER = sys.argv[1] variable
24 FUZZER_DIR = os.path.abspath(os.path.join(CORPORA_DIR, FUZZER))
42 _create(FUZZER)
43 _create(FUZZER + "-crash")
44 _add(FUZZER + "-seed")
46 cmd = ([os.path.abspath(os.path.join(THIS_DIR, FUZZER))] + sys.argv[2:]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp30 namespace fuzzer { namespace
115 "consider refactoring the fuzzer into several smaller fuzzers\n" in PrintModuleInfo()
434 "Please either migrate to a compiler that supports -fsanitize=fuzzer\n" in WarnAboutDeprecatedInstrumentation()
439 } // namespace fuzzer
445 fuzzer::WarnAboutDeprecatedInstrumentation( in __sanitizer_cov_trace_pc_guard()
454 fuzzer::WarnAboutDeprecatedInstrumentation("-fsanitize-coverage=trace-pc"); in __sanitizer_cov_trace_pc()
459 fuzzer::WarnAboutDeprecatedInstrumentation( in __sanitizer_cov_trace_pc_guard_init()
465 fuzzer::TPC.HandleInline8bitCountersInit(Start, Stop); in __sanitizer_cov_8bit_counters_init()
471 fuzzer::TPC.HandlePCsInit(pcs_beg, pcs_end); in __sanitizer_cov_pcs_init()
478 fuzzer::TPC.HandleCallerCallee(PC, Callee); in __sanitizer_cov_trace_pc_indir()
[all …]
H A DFuzzerLoop.cpp1 //===- FuzzerLoop.cpp - Fuzzer's main loop --------------------------------===//
8 // Fuzzer's main loop.
38 namespace fuzzer { namespace
41 thread_local bool Fuzzer::IsMyThread;
45 // Only one Fuzzer per process.
46 static Fuzzer *F;
125 void Fuzzer::HandleMalloc(size_t Size) { in HandleMalloc()
138 Fuzzer::Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD, in Fuzzer() function in fuzzer::Fuzzer
163 void Fuzzer
[all...]
H A DFuzzerUtilWindows.cpp34 namespace fuzzer { namespace
44 Fuzzer::StaticCrashSignalCallback(); in ExceptionHandler()
49 Fuzzer::StaticCrashSignalCallback(); in ExceptionHandler()
54 Fuzzer::StaticCrashSignalCallback(); in ExceptionHandler()
66 Fuzzer::StaticCrashSignalCallback(); in ExceptionHandler()
74 Fuzzer::StaticCrashSignalCallback(); in ExceptionHandler()
85 Fuzzer::StaticInterruptCallback(); in CtrlHandler()
89 Fuzzer::StaticInterruptCallback(); in CtrlHandler()
96 Fuzzer::StaticAlarmCallback(); in AlarmHandler()
126 static void CrashHandler(int) { Fuzzer::StaticCrashSignalCallback(); } in CrashHandler()
[all …]
H A DFuzzerInternal.h1 //===- FuzzerInternal.h - Internal header for the Fuzzer --------*- C++ -* ===//
8 // Define the main class fuzzer::Fuzzer and most functions.
28 namespace fuzzer {
32 class Fuzzer final {
34 Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD,
36 ~Fuzzer() = delete;
176 } // namespace fuzzer
H A DFuzzerUtilPosix.cpp30 namespace fuzzer { namespace
33 Fuzzer::StaticAlarmCallback(); in AlarmHandler()
42 Fuzzer::StaticCrashSignalCallback(); in SegvHandler()
46 Fuzzer::StaticCrashSignalCallback(); in CrashHandler()
50 Fuzzer::StaticInterruptCallback(); in InterruptHandler()
54 Fuzzer::StaticGracefulExitCallback(); in GracefulExitHandler()
58 Fuzzer::StaticFileSizeExceedCallback(); in FileSizeExceedHandler()
191 } // namespace fuzzer
H A DFuzzerRandom.h1 //===- FuzzerRandom.h - Internal header for the Fuzzer ----------*- C++ -* ===//
8 // fuzzer::Random
16 namespace fuzzer {
45 } // namespace fuzzer
/freebsd/contrib/libder/tests/
H A DCMakeLists.txt11 foreach(fuzzer IN LISTS FUZZERS)
12 add_executable(${fuzzer} ${fuzzer}.c)
14 target_compile_options(${fuzzer} PUBLIC -fsanitize=fuzzer)
15 target_link_options(${fuzzer} PUBLIC -fsanitize=fuzzer)
/freebsd/crypto/openssl/test/recipes/
H A D99-test_fuzz_cmp.t15 my $fuzzer = "cmp";
16 setup("test_fuzz_${fuzzer}");
18 plan skip_all => "This test requires $fuzzer support"
19 if disabled($fuzzer);
25 fuzz_ok($fuzzer);
H A D99-test_fuzz_cms.t15 my $fuzzer = "cms";
16 setup("test_fuzz_${fuzzer}");
18 plan skip_all => "This test requires $fuzzer support"
19 if disabled($fuzzer);
25 fuzz_ok($fuzzer);
H A D99-test_fuzz_ct.t15 my $fuzzer = "ct";
16 setup("test_fuzz_${fuzzer}");
18 plan skip_all => "This test requires $fuzzer support"
19 if disabled($fuzzer);
25 fuzz_ok($fuzzer);
H A D99-test_fuzz_bndiv.t15 my $fuzzer = "bndiv";
16 setup("test_fuzz_${fuzzer}");
22 fuzz_ok($fuzzer);
H A D99-test_fuzz_server.t15 my $fuzzer = "server";
16 setup("test_fuzz_${fuzzer}");
22 fuzz_ok($fuzzer);
H A D99-test_fuzz_asn1.t15 my $fuzzer = "asn1";
16 setup("test_fuzz_${fuzzer}");
22 fuzz_ok($fuzzer);
H A D99-test_fuzz_asn1parse.t15 my $fuzzer = "asn1parse";
16 setup("test_fuzz_${fuzzer}");
22 fuzz_ok($fuzzer);
H A D99-test_fuzz_bignum.t15 my $fuzzer = "bignum";
16 setup("test_fuzz_${fuzzer}");
22 fuzz_ok($fuzzer);
H A D99-test_fuzz_client.t15 my $fuzzer = "client";
16 setup("test_fuzz_${fuzzer}");
22 fuzz_ok($fuzzer);
/freebsd/include/
H A Dossfuzz.h42 /// The number of args in fuzzer arguments, including the NULL terminator.
45 /// The standard arguments for the bc fuzzer with the -c argument.
48 /// The standard arguments for the bc fuzzer with the -C argument.
51 /// The standard arguments for the dc fuzzer with the -c argument.
54 /// The standard arguments for the dc fuzzer with the -C argument.
61 * The function that the fuzzer runs.
71 * The initialization function for the fuzzer.
/freebsd/contrib/bc/include/
H A Dossfuzz.h42 /// The number of args in fuzzer arguments, including the NULL terminator.
45 /// The standard arguments for the bc fuzzer with the -c argument.
48 /// The standard arguments for the bc fuzzer with the -C argument.
51 /// The standard arguments for the dc fuzzer with the -c argument.
54 /// The standard arguments for the dc fuzzer with the -C argument.
61 * The function that the fuzzer runs.
71 * The initialization function for the fuzzer.
/freebsd/contrib/libder/libder/
H A DCMakeLists.txt7 target_compile_options(der PUBLIC -fsanitize=fuzzer-no-link)
8 target_link_options(der PUBLIC -fsanitize=fuzzer-no-link)
10 target_compile_options(der_static PUBLIC -fsanitize=fuzzer-no-link)
11 target_link_options(der_static PUBLIC -fsanitize=fuzzer-no-link)
/freebsd/sys/contrib/zstd/
H A DTESTING.md23 - Fuzzer tests: `tests/fuzzer.c`, `tests/zstreamtest.c`, and `tests/decodecorpus.c`
25 - Valgrind Test (`make -C tests valgrindTest`) (testing CLI and fuzzer under valgrind)
26 - Fuzzer tests (see above) on ARM, AArch64, PowerPC, and PowerPC64
38 - Streaming mode fuzzer with Tsan (for the `zstdmt` testing)
/freebsd/contrib/llvm-project/
H A DFREEBSD-Xlist118 clang/tools/clang-format/fuzzer/
122 clang/tools/clang-fuzzer/
196 compiler-rt/lib/fuzzer/CMakeLists.txt
197 compiler-rt/lib/fuzzer/afl/
198 compiler-rt/lib/fuzzer/build.sh
199 compiler-rt/lib/fuzzer/dataflow/
200 compiler-rt/lib/fuzzer/scripts/
201 compiler-rt/lib/fuzzer/standalone/
202 compiler-rt/lib/fuzzer/tests/
502 lldb/tools/lldb-fuzzer/
[all …]

123456