Home
last modified time | relevance | path

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

123

/freebsd-12-stable/crypto/openssh/regress/unittests/test_helper/
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 …]
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);
DMakefile4 SRCS= test_helper.c fuzz.c
/freebsd-12-stable/crypto/openssh/regress/unittests/sshkey/
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-12-stable/sys/contrib/zstd/tests/fuzz/
DREADME.md4 Zstd provides a fuzz corpus for each target that can be downloaded with
13 ## fuzz.py
15 `fuzz.py` is a helper script for building and running fuzzers.
16 Run `./fuzz.py -h` for the commands and run `./fuzz.py COMMAND -h` for
21 `fuzz.py` provides a utility to generate seed data for each fuzzer.
25 ./fuzz.py gen TARGET
42 Run `./fuzz.py build -h` for help.
46 `./fuzz.py` can run `libfuzzer`, `afl`, and `regression` tests.
48 Flags not parsed by `fuzz.py` are passed to the fuzzing engine.
56 # Build the fuzz targets
[all …]
DMakefile23 CORPORA_URL_PREFIX:=https://github.com/facebook/zstd/releases/download/fuzz-corpora/
43 FUZZ_HEADERS := fuzz_helpers.h fuzz.h zstd_helpers.h
116 …(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) ./fuzz.py build all
117 $(PYTHON) ./fuzz.py regression all
/freebsd-12-stable/crypto/openssh/regress/unittests/sshbuf/
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-12-stable/usr.bin/patch/
Dpatch.c156 LINENUM where = 0, newwhere, fuzz, mymaxfuzz; in main() local
282 fuzz = 0; in main()
305 where = locate_hunk(fuzz); in main()
309 if (fuzz == 0) in main()
315 where = locate_hunk(fuzz); in main()
353 ++fuzz <= mymaxfuzz); in main()
382 if (fuzz != 0) in main()
383 say(" with fuzz %ld", fuzz); in main()
703 locate_hunk(LINENUM fuzz) in locate_hunk() argument
712 if (verbose && fuzz == 0 && (diff_type == CONTEXT_DIFF in locate_hunk()
[all …]
/freebsd-12-stable/contrib/subversion/subversion/libsvn_client/
Dpatch.c1563 svn_diff_hunk_t *hunk, svn_linenum_t fuzz, in match_hunk() argument
1586 if (fuzz_penalty > fuzz) in match_hunk()
1589 fuzz -= fuzz_penalty; in match_hunk()
1639 if ((lines_read <= fuzz && leading_context > fuzz) || in match_hunk()
1640 (lines_read > hunk_length - fuzz && trailing_context > fuzz)) in match_hunk()
1686 svn_linenum_t upper_line, svn_linenum_t fuzz, in scan_for_match() argument
1706 SVN_ERR(match_hunk(&matched, content, hunk, fuzz, ignore_whitespace, in scan_for_match()
1824 svn_diff_hunk_t *hunk, svn_linenum_t fuzz, in get_hunk_info() argument
1843 if (original_start == 0 && fuzz > 0) in get_hunk_info()
1926 original_start + 1, fuzz, in get_hunk_info()
[all …]
/freebsd-12-stable/usr.bin/units/
Ddefinitions.units88 fuzz 1
94 AU 1.49597870691e+11 m fuzz
96 mole 6.0221417930e+23 fuzz
97 e 1.6021917e-19 coul fuzz
141 year 365.24219879 day fuzz
227 dry 268.8025 in3/gallon fuzz
236 brgallon 277.420 in3 fuzz
240 brpeck 554.84 in3 fuzz
604 atomicmassunit 1.66053878283e-27 kg fuzz
605 # year 3.15569259747e7 sec fuzz
[all …]
/freebsd-12-stable/crypto/openssh/.github/
Dci-status.md4 …Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/openssh.svg)](https://bu…
/freebsd-12-stable/contrib/expat/
DMakefile.am96 fuzz/xml_parsebuffer_fuzzer.c \
97 fuzz/xml_parse_fuzzer.c \
/freebsd-12-stable/contrib/bc/
Dconfigure644 fuzz=0
690 z) fuzz=1 ;;
812 enable-fuzz-mode) fuzz=1 ;;
825 enable-fuzz-mode* | enable-test-timing* | enable-valgrind*)
1080 if [ "$fuzz" -ne 0 ]; then
1462 printf 'BC_ENABLE_AFL=%s\n' "$fuzz"
1552 contents=$(replace "$contents" "FUZZ" "$fuzz")
Dconfigure.sh644 fuzz=0
690 z) fuzz=1 ;;
812 enable-fuzz-mode) fuzz=1 ;;
825 enable-fuzz-mode* | enable-test-timing* | enable-valgrind*)
1080 if [ "$fuzz" -ne 0 ]; then
1462 printf 'BC_ENABLE_AFL=%s\n' "$fuzz"
1552 contents=$(replace "$contents" "FUZZ" "$fuzz")
/freebsd-12-stable/sys/gnu/dts/arm/
Dam3517-som.dtsi135 touchscreen-fuzz-x = <4>;
136 touchscreen-fuzz-y = <7>;
137 touchscreen-fuzz-pressure = <2>;
Dlogicpd-som-lv.dtsi115 touchscreen-fuzz-x = <4>;
116 touchscreen-fuzz-y = <7>;
117 touchscreen-fuzz-pressure = <2>;
Dlogicpd-torpedo-baseboard.dtsi321 touchscreen-fuzz-x = <4>;
322 touchscreen-fuzz-y = <7>;
323 touchscreen-fuzz-pressure = <2>;
/freebsd-12-stable/contrib/unbound/
DREADME.md5 …Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/unbound.svg)](https://bu…
/freebsd-12-stable/sys/kern/
Dkern_switch.c430 runq_choose_fuzz(struct runq *rq, int fuzz) in runq_choose_fuzz() argument
439 if (fuzz > 1) { in runq_choose_fuzz()
444 int count = fuzz; in runq_choose_fuzz()
/freebsd-12-stable/crypto/openssh/regress/misc/fuzz-harness/testdata/
DREADME2 corresponding to ../fixed-keys that are used in the fuzz tests and consequent
/freebsd-12-stable/sys/dev/cyapa/
Dcyapa.c229 static int cyapa_fuzz(int delta, int *fuzz);
1717 int fuzz; in cyapa_fuzz() local
1719 fuzz = *fuzzp; in cyapa_fuzz()
1720 if (fuzz >= 0 && delta < 0) { in cyapa_fuzz()
1722 --fuzz; in cyapa_fuzz()
1723 } else if (fuzz <= 0 && delta > 0) { in cyapa_fuzz()
1725 ++fuzz; in cyapa_fuzz()
1727 *fuzzp = fuzz; in cyapa_fuzz()
/freebsd-12-stable/crypto/openssh/
D.gitignore34 !regress/misc/fuzz-harness/Makefile
DREADME.md4 …Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/openssh.svg)](https://bu…
/freebsd-12-stable/contrib/netbsd-tests/fs/vfs/
Dt_vnops.c680 int fuzz; in symlink_long() local
682 for (fuzz = -1; fuzz <= 1; fuzz++) { in symlink_long()
683 symlink_len(tc, mp, len + fuzz); in symlink_long()
/freebsd-12-stable/sys/dev/evdev/
Dinput.h64 int32_t fuzz; member

123