/third_party/libabigail/tests/ |
D | test-symtab.cc | 107 const corpus& corpus = *corpus_ptr; in assert_symbol_count() local 113 CHECK(corpus.get_sorted_fun_symbols().size() == function_symbols); in assert_symbol_count() 114 CHECK(corpus.get_fun_symbol_map().size() == function_symbols); in assert_symbol_count() 119 CHECK(corpus.get_sorted_var_symbols().size() == variable_symbols); in assert_symbol_count() 120 CHECK(corpus.get_var_symbol_map().size() == variable_symbols); in assert_symbol_count() 125 CHECK(corpus.get_sorted_undefined_fun_symbols().size() in assert_symbol_count() 127 CHECK(corpus.get_undefined_fun_symbol_map().size() in assert_symbol_count() 133 CHECK(corpus.get_sorted_undefined_var_symbols().size() in assert_symbol_count() 135 CHECK(corpus.get_undefined_var_symbol_map().size() in assert_symbol_count() 141 CHECK(corpus.is_empty() == (total_symbols == 0)); in assert_symbol_count() [all …]
|
/third_party/rust/crates/memchr/src/tests/memchr/ |
D | testdata.rs | 7 assert!(!statict.corpus.contains("%"), "% is not allowed in corpora"); in memchr_tests() 8 assert!(!statict.corpus.contains("#"), "# is not allowed in corpora"); in memchr_tests() 13 corpus: statict.corpus.to_string(), in memchr_tests() 32 MemchrTestStatic { corpus: "a", needles: &[b'a'], positions: &[0] }, 33 MemchrTestStatic { corpus: "aa", needles: &[b'a'], positions: &[0, 1] }, 35 corpus: "aaa", 39 MemchrTestStatic { corpus: "", needles: &[b'a'], positions: &[] }, 40 MemchrTestStatic { corpus: "z", needles: &[b'a'], positions: &[] }, 41 MemchrTestStatic { corpus: "zz", needles: &[b'a'], positions: &[] }, 42 MemchrTestStatic { corpus: "zza", needles: &[b'a'], positions: &[2] }, [all …]
|
D | memchr.rs | 95 fn qc_memchr1_matches_naive(n1: u8, corpus: Vec<u8>) -> bool { 96 memchr(n1, &corpus) == naive::memchr(n1, &corpus) 101 fn qc_memchr2_matches_naive(n1: u8, n2: u8, corpus: Vec<u8>) -> bool { 102 memchr2(n1, n2, &corpus) == naive::memchr2(n1, n2, &corpus) 109 corpus: Vec<u8> 111 memchr3(n1, n2, n3, &corpus) == naive::memchr3(n1, n2, n3, &corpus) 116 fn qc_memrchr1_matches_naive(n1: u8, corpus: Vec<u8>) -> bool { 117 memrchr(n1, &corpus) == naive::memrchr(n1, &corpus) 122 fn qc_memrchr2_matches_naive(n1: u8, n2: u8, corpus: Vec<u8>) -> bool { 123 memrchr2(n1, n2, &corpus) == naive::memrchr2(n1, n2, &corpus) [all …]
|
/third_party/libabigail/src/ |
D | abg-corpus.cc | 75 corpus::exported_decls_builder 99 const corpus::functions& 100 corpus::exported_decls_builder::exported_functions() const in exported_functions() 108 corpus::functions& 109 corpus::exported_decls_builder::exported_functions() in exported_functions() 117 const corpus::variables& 118 corpus::exported_decls_builder::exported_variables() const in exported_variables() 126 corpus::variables& 127 corpus::exported_decls_builder::exported_variables() in exported_variables() 136 corpus::exported_decls_builder::maybe_add_fn_to_exported_fns(const function_decl* fn) in maybe_add_fn_to_exported_fns() [all …]
|
D | abg-fe-iface.cc | 32 ir::corpus_sptr corpus; member 206 fe_iface::corpus() in corpus() function in abigail::fe_iface 208 if (!priv_->corpus) in corpus() 210 priv_->corpus = std::make_shared<ir::corpus>(options().env, in corpus() 213 return priv_->corpus; in corpus() 220 fe_iface::corpus() const in corpus() function in abigail::fe_iface 221 {return const_cast<fe_iface*>(this)->corpus();} in corpus() 275 if (main_corpus.get() == corpus().get()) in current_corpus_is_main_corpus_from_current_group() 311 if (corpus::exported_decls_builder* b = in maybe_add_fn_to_exported_decls() 312 corpus()->get_exported_decls_builder().get()) in maybe_add_fn_to_exported_decls() [all …]
|
D | abg-ctf-reader.cc | 151 corpus::exported_decls_builder* 153 {return corpus()->get_exported_decls_builder().get();} in exported_decls_builder() 358 corpus_sptr corp = corpus(); in slurp_elf_info() 359 if ((corp->get_origin() & corpus::LINUX_KERNEL_BINARY_ORIGIN) in slurp_elf_info() 410 corpus_sptr corp = corpus(); in process_ctf_archive() 425 if ((corp->get_origin() & corpus::LINUX_KERNEL_BINARY_ORIGIN) in process_ctf_archive() 522 corpus_sptr corp = corpus(); in process_ctf_type() 651 corpus_sptr corp = corpus(); in read_corpus() 654 corpus::origin origin = corpus()->get_origin(); in read_corpus() 655 origin |= corpus::CTF_ORIGIN; in read_corpus() [all …]
|
D | abg-elf-reader.cc | 872 corpus::origin origin = corpus()->get_origin(); in read_corpus() 873 origin |= corpus::ELF_ORIGIN; in read_corpus() 875 origin |= corpus::LINUX_KERNEL_BINARY_ORIGIN; in read_corpus() 876 corpus()->set_origin(origin); in read_corpus() 879 corpus()->set_soname(dt_soname()); in read_corpus() 880 corpus()->set_needed(dt_needed()); in read_corpus() 881 corpus()->set_architecture_name(elf_architecture()); in read_corpus() 892 corpus()->set_symtab(symtab()); in read_corpus() 895 if ((origin & abigail::ir::corpus::DWARF_ORIGIN) in read_corpus() 898 else if ((origin & abigail::ir::corpus::CTF_ORIGIN) in read_corpus() [all …]
|
/third_party/rust/crates/memchr/bench/src/memchr/ |
D | inputs.rs | 5 pub corpus: &'static [u8], field 21 corpus: crate::data::SHERLOCK_HUGE, 47 corpus: crate::data::SHERLOCK_SMALL, 73 corpus: crate::data::SHERLOCK_TINY, 95 corpus: &[], 120 self.never(1).and_then(|bytes| Search1::new(self.corpus, bytes)) in never1() 124 self.never(2).and_then(|bytes| Search2::new(self.corpus, bytes)) in never2() 128 self.never(3).and_then(|bytes| Search3::new(self.corpus, bytes)) in never3() 142 self.rare(1).and_then(|bytes| Search1::new(self.corpus, bytes)) in rare1() 146 self.rare(2).and_then(|bytes| Search2::new(self.corpus, bytes)) in rare2() [all …]
|
D | mod.rs | 30 memchr1_count(search.byte1.byte, search.corpus), in all() 38 memchr1_count(search.byte1.byte, search.corpus), in all() 46 memchr1_count(search.byte1.byte, search.corpus), in all() 54 memchr1_count(search.byte1.byte, search.corpus), in all() 63 imp::memchr1_libc_count(search.byte1.byte, search.corpus), in all() 71 imp::memchr1_libc_count(search.byte1.byte, search.corpus), in all() 79 imp::memchr1_libc_count(search.byte1.byte, search.corpus), in all() 87 imp::memchr1_libc_count(search.byte1.byte, search.corpus), in all() 100 fallback1_count(search.byte1.byte, search.corpus), in all() 113 fallback1_count(search.byte1.byte, search.corpus), in all() [all …]
|
/third_party/libabigail/include/ |
D | abg-corpus.h | 24 class corpus 55 corpus(); 64 corpus(const ir::environment&, const string& path= ""); 66 virtual ~corpus(); 159 operator==(const corpus&) const; 278 corpus::origin 279 operator|(corpus::origin l, corpus::origin r); 281 corpus::origin 282 operator|=(corpus::origin &l, corpus::origin r); 284 corpus::origin [all …]
|
D | abg-fwd.h | 66 class corpus; variable 67 typedef shared_ptr<corpus> corpus_sptr; 102 typedef weak_ptr<corpus> corpus_wptr; 1108 lookup_basic_type(const type_decl&, const corpus&); 1111 lookup_basic_type(const string&, const corpus&); 1114 lookup_basic_type(const interned_string&, const corpus&); 1117 lookup_basic_type_per_location(const interned_string&, const corpus&); 1120 lookup_basic_type_per_location(const string&, const corpus&); 1132 lookup_class_type(const class_decl&, const corpus&); 1135 lookup_class_type(const interned_string&, const corpus&); [all …]
|
/third_party/rust/crates/aho-corasick/bench/src/ |
D | bench.rs | 27 corpus: &[u8], in define_aho_corasick() 34 let haystack = corpus.to_vec(); in define_aho_corasick() 41 define(c, group_name, &name, corpus, move |b| { in define_aho_corasick() 45 let haystack = corpus.to_vec(); in define_aho_corasick() 52 define(c, group_name, &name, corpus, move |b| { in define_aho_corasick() 57 let haystack = corpus.to_vec(); in define_aho_corasick() 61 define(c, group_name, &name, corpus, move |b| { in define_aho_corasick() 69 let haystack = corpus.to_vec(); in define_aho_corasick() 73 define(c, group_name, &name, corpus, move |b| { in define_aho_corasick() 87 corpus: &[u8], in define_aho_corasick_dfa() [all …]
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
D | inputs.rs | 8 pub corpus: &'static str, field 31 corpus: data::CODE_RUST_LIBRARY, 57 corpus: data::SUBTITLE_EN_HUGE, 102 corpus: data::SUBTITLE_RU_HUGE, 124 corpus: data::SUBTITLE_ZH_HUGE, 144 corpus: data::SUBTITLE_EN_TEENY, 163 corpus: data::SUBTITLE_RU_TEENY, 181 corpus: data::SUBTITLE_ZH_TEENY, 197 corpus: data::PATHOLOGICAL_MD5_HUGE, 212 corpus: data::PATHOLOGICAL_REPEATED_RARE_HUGE, [all …]
|
D | mod.rs | 137 $inp.corpus.as_bytes(), in oneshot() 142 $find($inp.corpus, $q.needle) in oneshot() 207 $inp.corpus.as_bytes(), in prebuilt() 211 assert_eq!(expected, find($inp.corpus)); in prebuilt() 274 $inp.corpus.as_bytes(), in oneshot_iter() 278 $find_iter($inp.corpus, $q.needle); in oneshot_iter() 342 $inp.corpus.as_bytes(), in prebuilt_iter() 346 let it = finder.iter($inp.corpus); in prebuilt_iter()
|
/third_party/node/deps/openssl/openssl/fuzz/ |
D | build.info | 98 SOURCE[asn1-test]=asn1.c test-corpus.c fuzz_rand.c 102 SOURCE[asn1parse-test]=asn1parse.c test-corpus.c 106 SOURCE[bignum-test]=bignum.c test-corpus.c 110 SOURCE[bndiv-test]=bndiv.c test-corpus.c 114 SOURCE[client-test]=client.c test-corpus.c fuzz_rand.c 118 SOURCE[cmp-test]=cmp.c test-corpus.c fuzz_rand.c 123 SOURCE[cms-test]=cms.c test-corpus.c 127 SOURCE[conf-test]=conf.c test-corpus.c 131 SOURCE[crl-test]=crl.c test-corpus.c 135 SOURCE[ct-test]=ct.c test-corpus.c [all …]
|
D | README.md | 131 connection setup. This results in the coverage of the fuzzing corpus changing 136 Since we want to maximize the coverage of the fuzzing corpus, the client and 141 check of hashes, but the corpus has the correct hash in it for the random 149 Since the corpus depends on the default behaviour of the client and the server, 151 corpus will need to be updated in that case. 153 Updating the corpus 156 The client and server corpus is generated with multiple config options: 167 Minimizing the corpus 170 When you have gathered corpus data from more than one fuzzer run 172 in some corpus subdirectory `fuzz/corpora/DIR` this can be done as follows:
|
/third_party/openssl/fuzz/ |
D | build.info | 90 SOURCE[asn1-test]=asn1.c test-corpus.c fuzz_rand.c 94 SOURCE[asn1parse-test]=asn1parse.c test-corpus.c 98 SOURCE[bignum-test]=bignum.c test-corpus.c 102 SOURCE[bndiv-test]=bndiv.c test-corpus.c 106 SOURCE[client-test]=client.c test-corpus.c fuzz_rand.c 110 SOURCE[cmp-test]=cmp.c test-corpus.c fuzz_rand.c 115 SOURCE[cms-test]=cms.c test-corpus.c 119 SOURCE[conf-test]=conf.c test-corpus.c 123 SOURCE[crl-test]=crl.c test-corpus.c 127 SOURCE[ct-test]=ct.c test-corpus.c [all …]
|
D | README.md | 131 connection setup. This results in the coverage of the fuzzing corpus changing 136 Since we want to maximize the coverage of the fuzzing corpus, the client and 141 check of hashes, but the corpus has the correct hash in it for the random 149 Since the corpus depends on the default behaviour of the client and the server, 151 corpus will need to be updated in that case. 153 Updating the corpus 156 The client and server corpus is generated with multiple config options: 167 Minimizing the corpus 170 When you have gathered corpus data from more than one fuzzer run 172 in some corpus subdirectory `fuzz/corpora/DIR` this can be done as follows:
|
/third_party/libabigail/tests/data/test-abidiff/ |
D | test-PR24552-v0.abi | 1 <abi-corpus-group path='mypath' architecture='elf-arm-aarch64'> 2 <abi-corpus path='vmlinux' architecture='elf-arm-aarch64'> 10 </abi-corpus> 11 </abi-corpus-group>
|
D | test-PR24552-v1.abi | 1 <abi-corpus-group path='mypath' architecture='elf-arm-aarch64'> 2 <abi-corpus path='vmlinux' architecture='elf-arm-aarch64'> 10 </abi-corpus> 11 </abi-corpus-group>
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
D | run.js | 17 const corpus = require('./corpus.js'); constant 76 const v8Corpus = new corpus.Corpus(inputDir, 'v8'); 77 const chakraCorpus = new corpus.Corpus(inputDir, 'chakra'); 78 const spiderMonkeyCorpus = new corpus.Corpus(inputDir, 'spidermonkey'); 79 const jscCorpus = new corpus.Corpus(inputDir, 'WebKit/JSTests'); 80 const crashTestsCorpus = new corpus.Corpus(inputDir, 'CrashTests'); 117 const inputCorpus = new corpus.Corpus(
|
/third_party/rust/crates/memchr/scripts/ |
D | make-byte-frequency-table | 41 corpus = [] 42 for fpath in args.corpus: 43 corpus.append(open(fpath, 'rb').read()) 46 for c in corpus:
|
/third_party/rust/crates/regex/scripts/ |
D | frequencies.py | 41 corpus = [] 42 for fpath in args.corpus: 43 corpus.append(open(fpath, 'rb').read()) 46 for c in corpus:
|
/third_party/nghttp2/fuzz/ |
D | README.rst | 7 fuzz_target.cc contains an entry point of fuzzer. corpus directory 10 The file name of initial data under corpus is the lower-cased hex 13 corpus/h2spec contains input data which was recorded when we ran 16 corpus/nghttp contains input data which was recorded when we ran
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerFlags.def | 18 "If 0, libFuzzer tries to guess a good value based on the corpus " 25 "If 1, always prefer smaller inputs during the corpus shuffle.") 38 "merged into the 1-st corpus. Only interesting units will be taken. " 39 "This flag can be used to minimize a corpus.") 54 FUZZER_FLAG_INT(shrink, 0, "Experimental. Try to shrink corpus elements.") 62 "Reload the main corpus every <N> seconds to get new units" 81 "If 1, print statistics on corpus elements at exit.") 106 " was added to the corpus. "
|