Home
last modified time | relevance | path

Searched refs:fuzz (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd/crypto/openssh/regress/unittests/test_helper/
H A Dfuzz.c59 struct fuzz { struct
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()
111 fuzz_ntop(fuzz->strategy), in fuzz_fmt()
112 fuzz->o1, fuzz->slen * 8, fuzz->o1); in fuzz_fmt()
116 fuzz_ntop(fuzz->strategy), in fuzz_fmt()
117 (((fuzz_ullong)fuzz->o2) * fuzz->slen * 8) + fuzz->o1, in fuzz_fmt()
118 ((fuzz_ullong)fuzz->slen * 8) * fuzz->slen * 8, in fuzz_fmt()
119 fuzz->o1, fuzz->o2); in fuzz_fmt()
[all …]
H A Dtest_helper.h290 struct fuzz;
301 struct fuzz *fuzz_begin(u_int strategies, const void *p, size_t l);
304 void fuzz_cleanup(struct fuzz *fuzz);
307 void fuzz_next(struct fuzz *fuzz);
314 int fuzz_matches_original(struct fuzz *fuzz);
317 int fuzz_done(struct fuzz *fuzz);
320 size_t fuzz_len(struct fuzz *fuzz);
321 u_char *fuzz_ptr(struct fuzz *fuzz);
324 void fuzz_dump(struct fuzz *fuzz);
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_fuzz.c43 onerror(void *fuzz) in onerror() argument
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()
80 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 Dtest_sshbuf_getput_fuzz.c76 onerror(void *fuzz) in onerror() argument
79 fuzz_dump((struct fuzz *)fuzz); in onerror()
115 struct fuzz *fuzz; in sshbuf_getput_fuzz_tests() local
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/crypto/openssl/fuzz/
H A DREADME.md9 How to fuzz OpenSSL with [libfuzzer](http://llvm.org/docs/LibFuzzer.html),
25 CC=clang ./config enable-fuzz-libfuzzer \
43 fuzz/helper.py $FUZZER
45 where $FUZZER is one of the executables in `fuzz/`.
49 `fuzz/corpora/$FUZZER-crash/`.
62 CC=clang ./config enable-fuzz-libfuzzer \
81 CC=afl-clang-fast ./config enable-fuzz-afl no-shared no-module \
93 afl-fuzz -i fuzz/corpora/$FUZZER -o fuzz/corpora/$FUZZER/out fuzz/$FUZZER
95 Where $FUZZER is one of the executables in `fuzz/`.
101 the fuzz/*-test binaries and the file generated by the fuzzer. They binaries
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dmms114.txt14 - 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 Dtsc2005.txt31 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 Dcyttsp.txt20 - 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 Dtsc2007.txt15 - 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.
H A Diqs5xx.txt39 - touchscreen-fuzz-x : See [2].
41 - touchscreen-fuzz-y : See [2].
43 - touchscreen-fuzz-pressure : See [2].
H A Dchipone_icn8318.txt15 - touchscreen-fuzz-x : horizontal noise value of the absolute input
17 - touchscreen-fuzz-y : vertical noise value of the absolute input
/freebsd/contrib/libfido2/fuzz/
H A Dsummary.txt3 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 -
H A DMakefile27 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...]
/freebsd/tools/test/stress2/misc/
H A Dfuzz.sh64 ./fuzz -n 50 $D
91 sed '1,/^EOF/d' < $odir/$0 > $dir/fuzz.c
92 mycc -o fuzz -Wall fuzz.c
93 rm -f fuzz.c
99 rm -f fuzz
H A Dreaddir.sh147 DIR *dirp, fuzz;
155 bcopy(dirp, &fuzz, sizeof(fuzz));
156 fuzz.dd_len = arc4random();
157 readdir(&fuzz);
H A Dmmap32.sh94 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/usr.bin/patch/
H A Dpatch.c155 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/libfido2/src/
H A DCMakeLists.txt46 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/rockchip/
H A Drk3326-odroid-go3.dts47 abs-fuzz = <10>;
55 abs-fuzz = <10>;
63 abs-fuzz = <10>;
71 abs-fuzz = <10>;
H A Drk3326-odroid-go2.dts26 abs-fuzz = <10>;
34 abs-fuzz = <10>;
/freebsd/contrib/libcbor/test/
H A Dfuzz_test.c58 static void fuzz(void **_CBOR_UNUSED(_state)) { in fuzz() function
76 const struct CMUnitTest tests[] = {cmocka_unit_test(fuzz)}; in main()
/freebsd/usr.bin/units/
H A Ddefinitions.units87 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/contrib/bc/
H A Dconfigure182 printf ' -z, --enable-fuzz-mode\n'
726 fuzz=0
760 fuzz=0
796 fuzz=0
832 fuzz=0
898 fuzz=0
955 z) fuzz=1 ;;
1082 enable-fuzz-mode) fuzz=1 ;;
1098 enable-fuzz
[all...]
H A Dconfigure.sh726 fuzz=0
760 fuzz=0
796 fuzz=0
832 fuzz=0
898 fuzz=0
955 z) fuzz=1 ;;
1082 enable-fuzz-mode) fuzz=1 ;;
1098 enable-fuzz-mode* | enable-test-timing* | enable-valgrind*)
1402 if [ "$fuzz" -ne 0 ] && [ "$ossfuzz" -ne 0 ]; then
1407 if [ "$fuzz" -ne 0 ] || [ "$ossfuzz" -ne 0 ]; then
[all …]
/freebsd/sys/dev/evdev/
H A Devdev.c481 int32_t maximum, int32_t fuzz, int32_t flat, int32_t resolution) in evdev_support_abs() argument
491 .fuzz = fuzz, in evdev_support_abs()
676 int32_t fuzz, old_value, abs_change; in evdev_modify_event() local
718 fuzz = evdev->ev_absinfo[code].fuzz; in evdev_modify_event()
719 if (fuzz == 0) in evdev_modify_event()
723 if (abs_change < fuzz / 2) in evdev_modify_event()
725 else if (abs_change < fuzz) in evdev_modify_event()
727 else if (abs_change < fuzz * 2) in evdev_modify_event()

1234