| /freebsd/crypto/openssh/regress/unittests/test_helper/ |
| H A D | fuzz.c | 57 struct fuzz { struct 101 fuzz_fmt(struct fuzz *fuzz, char *s, size_t n) in fuzz_fmt() argument 103 if (fuzz == NULL) in fuzz_fmt() 106 switch (fuzz->strategy) { in fuzz_fmt() 109 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 110 fuzz->o1, fuzz->slen * 8, fuzz->o1); in fuzz_fmt() 114 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 115 (((fuzz_ullong)fuzz->o2) * fuzz->slen * 8) + fuzz->o1, in fuzz_fmt() 116 ((fuzz_ullong)fuzz->slen * 8) * fuzz->slen * 8, in fuzz_fmt() 117 fuzz->o1, fuzz->o2); in fuzz_fmt() [all …]
|
| H A D | test_helper.h | 328 struct fuzz; 339 struct fuzz *fuzz_begin(u_int strategies, const void *p, size_t l); 342 void fuzz_cleanup(struct fuzz *fuzz); 345 void fuzz_next(struct fuzz *fuzz); 352 int fuzz_matches_original(struct fuzz *fuzz); 355 int fuzz_done(struct fuzz *fuzz); 358 size_t fuzz_len(struct fuzz *fuzz); 359 u_char *fuzz_ptr(struct fuzz *fuzz); 362 void fuzz_dump(struct fuzz *fuzz);
|
| /freebsd/crypto/openssh/regress/unittests/sshkey/ |
| H A D | test_fuzz.c | 40 onerror(void *fuzz) in onerror() argument 43 fuzz_dump((struct fuzz *)fuzz); in onerror() 51 struct fuzz *fuzz; in public_fuzz() local 63 fuzz = fuzz_begin(fuzzers, sshbuf_mutable_ptr(buf), sshbuf_len(buf)); in public_fuzz() 68 TEST_ONERROR(onerror, fuzz); in public_fuzz() 69 for(; !fuzz_done(fuzz); fuzz_next(fuzz)) { in public_fuzz() 70 if (sshkey_from_blob(fuzz_ptr(fuzz), fuzz_len(fuzz), &k1) == 0) in public_fuzz() 73 fuzz_cleanup(fuzz); in public_fuzz() 79 struct fuzz *fuzz; in sig_fuzz() local 94 fuzz = fuzz_begin(fuzzers, sig, l); in sig_fuzz() [all …]
|
| /freebsd/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_getput_fuzz.c | 74 onerror(void *fuzz) in onerror() argument 77 fuzz_dump((struct fuzz *)fuzz); in onerror() 113 struct fuzz *fuzz; in sshbuf_getput_fuzz_tests() local 122 fuzz = fuzz_begin(fuzzers, blob, sizeof(blob)); in sshbuf_getput_fuzz_tests() 123 TEST_ONERROR(onerror, fuzz); in sshbuf_getput_fuzz_tests() 124 for(; !fuzz_done(fuzz); fuzz_next(fuzz)) in sshbuf_getput_fuzz_tests() 126 fuzz_cleanup(fuzz); in sshbuf_getput_fuzz_tests()
|
| /freebsd/crypto/openssh/regress/unittests/crypto/ |
| H A D | test_mldsa_eddsa.c | 53 onerror(void *fuzz) in onerror() argument 56 fuzz_dump((struct fuzz *)fuzz); in onerror() 63 struct fuzz *fuzz; in sig_fuzz() local 73 fuzz = fuzz_begin(fuzzers, s, MLDSA44_ED25519_SIG_SZ); in sig_fuzz() 74 TEST_ONERROR(onerror, fuzz); in sig_fuzz() 75 for(; !fuzz_done(fuzz); fuzz_next(fuzz)) { in sig_fuzz() 77 if (fuzz_matches_original(fuzz)) in sig_fuzz() 79 ASSERT_INT_NE(crypto_sign_mldsa44_ed25519_verify(fuzz_ptr(fuzz), in sig_fuzz() 82 fuzz_cleanup(fuzz); in sig_fuzz()
|
| /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/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| 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 | 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/libfido2/fuzz/ |
| H A D | summary.txt | 3 fuzz/clock.c 29 1 96.55% 4 … 4 fuzz/pcsc.c 78 0 100.00% 8 … 5 fuzz/prng.c 32 0 100.00% 2 … 6 fuzz/udev.c 152 3 98.03% 17 … 7 fuzz/uniform_random.c 7 1 85.71% 1 … 8 fuzz/wrap.c 29 0 100.00% 3 … 55 fuzz/mutator_aux.h 0 0 - 0 …
|
| H A D | Makefile | 27 tar Ccf .. - src fuzz | docker exec -i ${RUNNER} tar Cxf /libfido2 - 32 docker exec ${RUNNER} tar Czxf /libfido2/fuzz /libfido2/fuzz/corpus.tgz 79 fetch-oss-fuzz: ${CORPORA} 90 .PHONY: fetch-oss-fuzz fetch-franz corpus.tgz
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | fuzz.sh | 52 backup=/tmp/fuzz.sh.diskimage.`date +%Y%m%dT%H%M%S`.gz 65 ./fuzz -n 50 $D 93 sed '1,/^EOF/d' < $odir/$0 > $dir/fuzz.c 94 mycc -o fuzz -Wall fuzz.c 95 rm -f fuzz.c 101 rm -f fuzz $backup
|
| H A D | readdir.sh | 147 DIR *dirp, fuzz; 155 bcopy(dirp, &fuzz, sizeof(fuzz)); 156 fuzz.dd_len = arc4random(); 157 readdir(&fuzz);
|
| H A D | mmap32.sh | 94 fuzz(int arg, void *addr, size_t len, int prot, int flags, int fd, 175 fuzz(i + 1, addr, len, prot, flags, fd, 188 fuzz(34, addr, len, prot, flags, fd, offset);
|
| /freebsd/crypto/openssh/regress/unittests/servconf/ |
| H A D | tests.c | 37 onerror(void *fuzz) in onerror() argument 40 fuzz_dump((struct fuzz *)fuzz); in onerror() 296 struct fuzz *fuzz; in check_fuzz_deserialise() local 307 fuzz = fuzz_begin(fuzzers, sshbuf_ptr(buf), sshbuf_len(buf)); in check_fuzz_deserialise() 308 TEST_ONERROR(onerror, fuzz); in check_fuzz_deserialise() 309 for (; !fuzz_done(fuzz); fuzz_next(fuzz)) in check_fuzz_deserialise() 310 attempt_deserialise_blob(fuzz_ptr(fuzz), fuzz_len(fuzz)); in check_fuzz_deserialise() 312 fuzz_cleanup(fuzz); in check_fuzz_deserialise()
|
| /freebsd/contrib/pkgconf/fuzzer/ |
| H A D | meson.build | 50 fuzz_root = join_paths(meson.project_build_root(), 'fuzz') 58 'fuzz-prepare', 63 'fuzz-parser', 68 'fuzz-solver', 73 'fuzz-spdxtool',
|
| /freebsd/usr.bin/patch/ |
| H A D | patch.c | 155 LINENUM where = 0, newwhere, fuzz, mymaxfuzz; in main() local 281 fuzz = 0; in main() 304 where = locate_hunk(fuzz); in main() 308 if (fuzz == 0) in main() 314 where = locate_hunk(fuzz); in main() 352 ++fuzz <= mymaxfuzz); in main() 381 if (fuzz != 0) in main() 382 say(" with fuzz %ld", fuzz); in main() 706 locate_hunk(LINENUM fuzz) in locate_hunk() argument 715 if (verbose && fuzz == 0 && (diff_type == CONTEXT_DIFF in locate_hunk() [all …]
|
| /freebsd/contrib/expat/ |
| H A D | Makefile.am | 100 fuzz/xml_lpm_fuzzer.cpp \ 101 fuzz/xml_lpm_fuzzer.proto \ 102 fuzz/xml_parsebuffer_fuzzer.c \ 103 fuzz/xml_parse_fuzzer.c \
|
| /freebsd/contrib/libfido2/src/ |
| H A D | CMakeLists.txt | 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/sys/contrib/device-tree/src/arm64/allwinner/ |
| H A D | sun50i-h700-anbernic-rg35xx-h.dts | 28 abs-fuzz = <32>; 36 abs-fuzz = <32>; 44 abs-fuzz = <32>; 52 abs-fuzz = <32>;
|
| /freebsd/sys/kern/ |
| H A D | kern_switch.c | 614 int fuzz; member 622 const int fuzz = d->fuzz; in runq_fuzz_pred() local 627 if (fuzz > 1) { in runq_fuzz_pred() 633 int count = fuzz; in runq_fuzz_pred() 653 runq_choose_fuzz(struct runq *rq, int fuzz) in runq_choose_fuzz() argument 656 .fuzz = fuzz, in runq_choose_fuzz()
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3566-anbernic-rg353x.dtsi | 26 abs-fuzz = <32>; 34 abs-fuzz = <32>; 42 abs-fuzz = <32>; 50 abs-fuzz = <32>;
|
| H A D | rk3326-odroid-go3.dts | 48 abs-fuzz = <10>; 56 abs-fuzz = <10>; 64 abs-fuzz = <10>; 72 abs-fuzz = <10>;
|
| /freebsd/crypto/openssh/.github/ |
| H A D | pin_actions.sh | 22 google/oss-fuzz/*) actiondir=google/oss-fuzz ;;
|