| /freebsd/crypto/openssh/regress/unittests/test_helper/ |
| H A D | fuzz.c | 1 /* $OpenBSD: fuzz.c,v 1.8 2015/03/03 20:42:49 djm Exp $ */ 18 /* Utility functions/framework for fuzz tests */ 59 struct fuzz { struct 60 /* Fuzz method currently in use */ 63 /* Fuzz methods remaining */ 70 /* Current working copy of seed with fuzz mutations applied */ argument 73 /* Used by fuzz methods */ 103 fuzz_fmt(struct fuzz *fuzz, char *s, size_t n) in fuzz_fmt() argument 105 if (fuzz == NULL) in fuzz_fmt() 108 switch (fuzz->strategy) { in fuzz_fmt() [all …]
|
| H A D | test_helper.h | 290 struct fuzz; 301 struct fuzz *fuzz_begin(u_int strategies, const void *p, size_t l); 303 /* Free a fuzz context */ 304 void fuzz_cleanup(struct fuzz *fuzz); 306 /* Prepare the next fuzz case in the series */ 307 void fuzz_next(struct fuzz *fuzz); 310 * Check whether this fuzz case is identical to the original 314 int fuzz_matches_original(struct fuzz *fuzz); 316 /* Determine whether the current fuzz sequence is exhausted (nonzero = yes) */ 317 int fuzz_done(struct fuzz *fuzz); [all …]
|
| /freebsd/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_fuzz.c | 3 * Fuzz tests for key parsing 43 onerror(void *fuzz) in onerror() argument 45 fprintf(stderr, "Failed during fuzz:\n"); in onerror() 46 fuzz_dump((struct fuzz *)fuzz); in onerror() 54 struct fuzz *fuzz; in public_fuzz() local 64 fuzz = fuzz_begin(fuzzers, sshbuf_mutable_ptr(buf), sshbuf_len(buf)); in public_fuzz() 69 TEST_ONERROR(onerror, fuzz); in public_fuzz() 70 for(; !fuzz_done(fuzz); fuzz_next(fuzz)) { in public_fuzz() 71 if (sshkey_from_blob(fuzz_ptr(fuzz), fuzz_len(fuzz), &k1) == 0) in public_fuzz() 74 fuzz_cleanup(fuzz); in public_fuzz() [all …]
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | README.md | 9 How to fuzz OpenSSL with [libfuzzer](http://llvm.org/docs/LibFuzzer.html), 25 CC=clang ./config enable-fuzz-libfuzzer \ 71 fuzz/helper.py $FUZZER 73 where $FUZZER is one of the executables in `fuzz/`. 77 `fuzz/corpora/$FUZZER-crash/`. 90 CC=clang ./config enable-fuzz-libfuzzer \ 109 CC=afl-clang-fast ./config enable-fuzz-afl no-shared no-module \ 121 afl-fuzz -i fuzz/corpora/$FUZZER -o fuzz/corpora/$FUZZER/out fuzz/$FUZZER 123 Where $FUZZER is one of the executables in `fuzz/`. 129 the fuzz/*-test binaries and the file generated by the fuzzer. They binaries [all …]
|
| /freebsd/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_getput_fuzz.c | 76 onerror(void *fuzz) in onerror() argument 78 fprintf(stderr, "Failed during fuzz:\n"); in onerror() 79 fuzz_dump((struct fuzz *)fuzz); in onerror() 115 struct fuzz *fuzz; in sshbuf_getput_fuzz_tests() local 123 TEST_START("fuzz blob parsing"); in sshbuf_getput_fuzz_tests() 124 fuzz = fuzz_begin(fuzzers, blob, sizeof(blob)); in sshbuf_getput_fuzz_tests() 125 TEST_ONERROR(onerror, fuzz); in sshbuf_getput_fuzz_tests() 126 for(; !fuzz_done(fuzz); fuzz_next(fuzz)) in sshbuf_getput_fuzz_tests() 128 fuzz_cleanup(fuzz); in sshbuf_getput_fuzz_tests()
|
| /freebsd/contrib/libfido2/fuzz/ |
| H A D | Makefile | 27 tar Ccf .. - src fuzz | docker exec -i ${RUNNER} tar Cxf /libfido2 - 31 docker exec ${RUNNER} /bin/sh -c 'cd /libfido2/fuzz && rm -rf ${TARGETS}' 32 docker exec ${RUNNER} tar Czxf /libfido2/fuzz /libfido2/fuzz/corpus.tgz 36 /bin/sh -c 'rm -f /profraw/$@ && /libfido2/build/fuzz/$@ \ 37 -runs=1 /libfido2/fuzz/$@' 41 /libfido2/build/fuzz/$< -use_value_profile=1 -merge=1 $@ \ 42 /libfido2/fuzz/$</corpus' 79 fetch-oss-fuzz: ${CORPORA} 90 .PHONY: fetch-oss-fuzz fetc [all...] |
| H A D | summary.txt | 3 fuzz/clock.c 24 1 95.83% 4 0 100.00% 35 1 97.14% 4 fuzz/pcsc.c 59 0 100.00% 8 0 100.00% 75 12 84.00% 5 fuzz/prng.c 31 0 100.00% 2 0 100.00% 35 1 97.14% 6 fuzz/udev.c 110 2 98.18% 17 0 100.00% 126 12 90.48% 7 fuzz/uniform_random.c 7 1 85.71% 1 0 100.00% 12 1 91.67% 8 fuzz/wrap.c 23 0 100.00% 3 0 100.00% 29 0 100.00% 55 fuzz/mutator_aux.h 0 0 - 0 0 - 0 0 -
|
| /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | ti,tsc2005.yaml | 51 touchscreen-fuzz-pressure: true 52 touchscreen-fuzz-x: true 53 touchscreen-fuzz-y: true 91 touchscreen-fuzz-x = <4>; 92 touchscreen-fuzz-y = <7>; 93 touchscreen-fuzz-pressure = <2>; 118 touchscreen-fuzz-x = <4>; 119 touchscreen-fuzz-y = <7>; 120 touchscreen-fuzz-pressure = <2>;
|
| H A D | mms114.txt | 14 - touchscreen-fuzz-x: See [1] 15 - touchscreen-fuzz-y: See [1] 16 - touchscreen-fuzz-pressure: See [1] 34 touchscreen-fuzz-x = <10>; 35 touchscreen-fuzz-y = <10>; 36 touchscreen-fuzz-pressure = <10>;
|
| H A D | tsc2005.txt | 31 touchscreen-fuzz-x = <4>; 32 touchscreen-fuzz-y = <7>; 33 touchscreen-fuzz-pressure = <2>; 54 touchscreen-fuzz-x = <4>; 55 touchscreen-fuzz-y = <7>; 56 touchscreen-fuzz-pressure = <2>;
|
| H A D | melfas,mms114.yaml | 51 touchscreen-fuzz-x: true 52 touchscreen-fuzz-y: true 53 touchscreen-fuzz-pressure: true 88 touchscreen-fuzz-x = <10>; 89 touchscreen-fuzz-y = <10>; 90 touchscreen-fuzz-pressure = <10>;
|
| H A D | cyttsp.txt | 20 - touchscreen-fuzz-x : horizontal noise value of the absolute input device 22 - touchscreen-fuzz-y : vertical noise value of the absolute input device 57 touchscreen-fuzz-x = <4>; 58 touchscreen-fuzz-y = <7>; 82 touchscreen-fuzz-x = <4>; 83 touchscreen-fuzz-y = <7>;
|
| H A D | tsc2007.txt | 15 - ti,fuzzx: specifies the absolute input fuzz x value. 16 If set, it will permit noise in the data up to +- the value given to the fuzz 18 - ti,fuzzy: specifies the absolute input fuzz y value. 19 - ti,fuzzz: specifies the absolute input fuzz z value.
|
| /freebsd/contrib/libcbor/.github/workflows/ |
| H A D | fuzz-pr.yml | 2 # on PRs; fuzz.yml schedules a daily long-running fuzzing job. 10 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 12 oss-fuzz-project-name: 'libcbor' 15 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 17 oss-fuzz-project-name: 'libcbor' 18 fuzz-seconds: 10
|
| H A D | fuzz.yml | 10 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 12 oss-fuzz-project-name: 'libcbor' 15 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 17 oss-fuzz-project-name: 'libcbor' 18 fuzz-seconds: 14400 # 4 hours
|
| /freebsd/contrib/libarchive/.github/workflows/ |
| H A D | cifuzz.yml | |
| /freebsd/crypto/libecc/.github/workflows/ |
| H A D | libecc_cifuzz.yml | 9 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 11 oss-fuzz-project-name: 'libecc' 15 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 17 oss-fuzz-project-name: 'libecc' 18 fuzz-seconds: 300
|
| /freebsd/crypto/krb5/.github/workflows/ |
| H A D | cifuzz.yml | 15 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 17 oss-fuzz-project-name: 'krb5' 20 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 22 oss-fuzz-project-name: 'krb5' 24 fuzz-seconds: 300
|
| /freebsd/crypto/openssh/.github/workflows/ |
| H A D | cifuzz.yml | 15 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master 17 oss-fuzz-project-name: 'openssh' 21 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master 23 oss-fuzz-project-name: 'openssh' 24 fuzz-seconds: 600
|
| /freebsd/contrib/libfido2/src/ |
| H A D | CMakeLists.txt | 45 if(FUZZ) 46 list(APPEND FIDO_SOURCES ../fuzz/clock.c) 47 list(APPEND FIDO_SOURCES ../fuzz/pcsc.c) 48 list(APPEND FIDO_SOURCES ../fuzz/prng.c) 49 list(APPEND FIDO_SOURCES ../fuzz/udev.c) 50 list(APPEND FIDO_SOURCES ../fuzz/uniform_random.c) 51 list(APPEND FIDO_SOURCES ../fuzz/wrap.c)
|
| /freebsd/contrib/libfido2/ |
| H A D | CMakeLists.txt | 42 option(FUZZ "Enable fuzzing instrumentation" OFF) option 162 if(HAVE_EXPLICIT_BZERO AND NOT FUZZ) 267 if(FUZZ) 331 if(NOT FUZZ) 363 if(FUZZ) 365 " -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/fuzz/export.gnu") 377 if(FUZZ) 378 file(STRINGS fuzz/wrapped.sym WRAPPED_SYMBOLS) 440 message(STATUS "FUZZ: ${FUZZ}") [all...] |
| /freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A D | FuzzerCLI.h | 9 // Common logic needed to implement LLVM's fuzz targets' CLIs - including LLVM 24 /// Parse cl::opts from a fuzz target commandline. 36 /// This is meant to be used for environments like OSS-Fuzz that aren't capable 47 /// Runs a fuzz target on the inputs specified on the command line. 49 /// Useful for testing fuzz targets without linking to libFuzzer. Finds inputs
|
| /freebsd/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_sleep.c | 52 #define FUZZ (40 * MILLION) /* scheduling fuzz accepted - 40 ms */ macro 57 * Most tests use FUZZ as their initial delay value, but 'sleep' 276 delta3 = FUZZ; in sleeptest() 314 if (delta3 > FUZZ || delta3 < -FUZZ) { in sleeptest() 320 "allowable fuzz %lld", delta3, FUZZ); in sleeptest() 327 if (delta3 < FUZZ) in sleeptest()
|
| /freebsd/usr.bin/units/ |
| H A D | definitions.units | 87 fuzz 1 93 AU 1.49597870691e+11 m fuzz 95 mole 6.0221417930e+23 fuzz 96 e 1.6021917e-19 coul fuzz 140 year 365.24219879 day fuzz 226 dry 268.8025 in3/gallon fuzz 235 brgallon 277.420 in3 fuzz 239 brpeck 554.84 in3 fuzz 603 atomicmassunit 1.66053878283e-27 kg fuzz 604 # year 3.15569259747e7 sec fuzz [all …]
|
| /freebsd/usr.bin/patch/ |
| H A D | patch.1 | 36 .Op Fl F Ar max-fuzz 148 .Fl F Ar max-fuzz , 149 .Fl Fl fuzz Ar max-fuzz 151 Sets the maximum fuzz factor. 155 Note that a larger fuzz factor increases the odds of a faulty patch. 156 The default fuzz factor is 2, and it may not be set to more than 389 If no such place is found, and it is a context diff, and the maximum fuzz factor 392 If that fails, and the maximum fuzz factor is set to 2 or more, 395 .Pq The default maximum fuzz factor is 2 . 417 You will also be told if a fuzz factor was used to make the match, in which [all …]
|