/external/honggfuzz/ |
D | input.c | 56 if (sz > run->global->mutate.maxFileSz) { in input_setSize() 57 PLOG_F("Too large size requested: %zu > maxSize: %zu", sz, run->global->mutate.maxFileSz); in input_setSize() 101 if (hfuzz->mutate.maxFileSz != 0UL && st.st_size > (off_t)hfuzz->mutate.maxFileSz) { in input_getDirStatsAndRewind() 103 fname, (int64_t)st.st_size, (int64_t)hfuzz->mutate.maxFileSz); in input_getDirStatsAndRewind() 112 if (hfuzz->mutate.maxFileSz == 0U) { in input_getDirStatsAndRewind() 114 hfuzz->mutate.maxFileSz = 8192; in input_getDirStatsAndRewind() 116 hfuzz->mutate.maxFileSz = _HF_INPUT_MAX_SIZE; in input_getDirStatsAndRewind() 118 hfuzz->mutate.maxFileSz = maxSize; in input_getDirStatsAndRewind() 127 hfuzz->mutate.maxFileSz, hfuzz->io.fileCnt); in input_getDirStatsAndRewind() 207 FILE* fDict = fopen(hfuzz->mutate.dictionaryFile, "rb"); in input_parseDictionary() [all …]
|
D | mangle.c | 73 if (run->dynamicFileSz >= run->global->mutate.maxFileSz) { in mangle_Inflate() 76 if (len > (run->global->mutate.maxFileSz - run->dynamicFileSz)) { in mangle_Inflate() 77 len = run->global->mutate.maxFileSz - run->dynamicFileSz; in mangle_Inflate() 133 uint64_t choice = util_rndGet(0, run->global->mutate.dictionaryCnt - 1); in mangle_DictionaryInsertNoCheck() 134 struct strings_t* str = TAILQ_FIRST(&run->global->mutate.dictq); in mangle_DictionaryInsertNoCheck() 146 if (run->global->mutate.dictionaryCnt == 0) { in mangle_DictionaryInsert() 154 if (run->global->mutate.dictionaryCnt == 0) { in mangle_DictionaryInsertPrintable() 164 uint64_t choice = util_rndGet(0, run->global->mutate.dictionaryCnt - 1); in mangle_DictionaryNoCheck() 165 struct strings_t* str = TAILQ_FIRST(&run->global->mutate.dictq); in mangle_DictionaryNoCheck() 174 if (run->global->mutate.dictionaryCnt == 0) { in mangle_Dictionary() [all …]
|
D | display.c | 151 if (hfuzz->mutate.mutationsMax > 0 && curr_exec_cnt > hfuzz->mutate.mutationsMax) { in display_displayLocked() 152 curr_exec_cnt = hfuzz->mutate.mutationsMax; in display_displayLocked() 155 if (hfuzz->mutate.mutationsMax > 0) { in display_displayLocked() 156 exeProgress = (curr_exec_cnt * 100) / hfuzz->mutate.mutationsMax; in display_displayLocked() 169 if (hfuzz->mutate.mutationsMax) { in display_displayLocked() 171 hfuzz->mutate.mutationsMax, exeProgress); in display_displayLocked() 220 hfuzz->io.dynfileqCnt, hfuzz->mutate.maxFileSz, ATOMIC_GET(hfuzz->io.fileCnt)); in display_displayLocked()
|
D | cmdline.c | 228 if (hfuzz->mutate.mutationsPerRun == 0U && hfuzz->cfg.useVerifier) { in cmdlineVerify() 232 if (hfuzz->mutate.maxFileSz > _HF_INPUT_MAX_SIZE) { in cmdlineVerify() 233 LOG_E("Maximum file size '%zu' bigger than the maximum size '%zu'", hfuzz->mutate.maxFileSz, in cmdlineVerify() 291 .mutate = in cmdlineParse() 393 TAILQ_INIT(&hfuzz->mutate.dictq); in cmdlineParse() 533 hfuzz->mutate.mutationsPerRun = strtoul(optarg, NULL, 10); in cmdlineParse() 555 hfuzz->mutate.maxFileSz = strtoul(optarg, NULL, 0); in cmdlineParse() 573 hfuzz->mutate.mutationsMax = atol(optarg); in cmdlineParse() 618 hfuzz->mutate.dictionaryFile = optarg; in cmdlineParse() 708 cmdlineYesNo(hfuzz->exe.fuzzStdin), hfuzz->mutate.mutationsPerRun, in cmdlineParse() [all …]
|
D | fuzz.c | 316 run->mutationsPerRun = run->global->mutate.mutationsPerRun; in fuzz_fetchInput() 360 run->mutationsPerRun = run->global->mutate.mutationsPerRun; in fuzz_fuzzLoop() 396 run->mutationsPerRun = run->global->mutate.mutationsPerRun; in fuzz_fuzzLoopSocket() 459 if (!(run.dynamicFile = files_mapSharedMem(hfuzz->mutate.maxFileSz, &run.dynamicFileFd, in fuzz_threadNew() 461 LOG_F("Couldn't create an input file of size: %zu", hfuzz->mutate.maxFileSz); in fuzz_threadNew() 476 if (run.global->mutate.mutationsPerRun == 0U && run.global->cfg.useVerifier && in fuzz_threadNew() 484 run.global->mutate.mutationsMax) && in fuzz_threadNew() 485 run.global->mutate.mutationsMax) { in fuzz_threadNew() 489 input_setSize(&run, run.global->mutate.maxFileSz); in fuzz_threadNew()
|
D | report.c | 107 localtmstr, run->global->mutate.mutationsPerRun, in report_Report() 116 run->global->mutate.dictionaryFile == NULL ? "NULL" : run->global->mutate.dictionaryFile); in report_Report()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/ |
D | IRMutator.h | 49 virtual void mutate(Module &M, RandomIRBuilder &IB); 50 virtual void mutate(Function &F, RandomIRBuilder &IB); 51 virtual void mutate(BasicBlock &BB, RandomIRBuilder &IB); 52 virtual void mutate(Instruction &I, RandomIRBuilder &IB) { in mutate() function 91 using IRMutationStrategy::mutate; 92 void mutate(Function &F, RandomIRBuilder &IB) override; 93 void mutate(BasicBlock &BB, RandomIRBuilder &IB) override; 101 using IRMutationStrategy::mutate; 102 void mutate(Function &F, RandomIRBuilder &IB) override; 103 void mutate(Instruction &Inst, RandomIRBuilder &IB) override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/ |
D | IRMutator.cpp | 36 void IRMutationStrategy::mutate(Module &M, RandomIRBuilder &IB) { in mutate() function in IRMutationStrategy 44 mutate(*RS.getSelection(), IB); in mutate() 47 void IRMutationStrategy::mutate(Function &F, RandomIRBuilder &IB) { in mutate() function in IRMutationStrategy 48 mutate(*makeSampler(IB.Rand, make_pointer_range(F)).getSelection(), IB); in mutate() 51 void IRMutationStrategy::mutate(BasicBlock &BB, RandomIRBuilder &IB) { in mutate() function in IRMutationStrategy 52 mutate(*makeSampler(IB.Rand, make_pointer_range(BB)).getSelection(), IB); in mutate() 68 Strategy->mutate(M, IB); in mutateModule() 79 void InjectorIRStrategy::mutate(Function &F, RandomIRBuilder &IB) { in mutate() function in InjectorIRStrategy 80 IRMutationStrategy::mutate(F, IB); in mutate() 106 void InjectorIRStrategy::mutate(BasicBlock &BB, RandomIRBuilder &IB) { in mutate() function in InjectorIRStrategy [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_mutants.py | 40 mutate = 0 variable 48 global mutate 49 if not mutate: 61 mutate = 0 # disable mutation until key inserted 68 mutate = 1 72 mutate = 0 # disable mutation until key deleted 77 mutate = 1 125 global mutate, dict1, dict2, dict1keys, dict2keys 128 mutate = 0 134 mutate = 1
|
D | test_iterlen.py | 84 self.mutate() 121 self.mutate = d.pop 128 self.mutate = d.pop 135 self.mutate = d.popitem 142 self.mutate = d.popitem 149 self.mutate = d.popitem 156 self.mutate = d.pop
|
/external/python/cpython3/Lib/test/ |
D | test_iterlen.py | 73 self.mutate() 106 self.mutate = d.pop 113 self.mutate = d.pop 120 self.mutate = d.popitem 127 self.mutate = d.popitem 134 self.mutate = d.popitem 141 self.mutate = d.pop
|
/external/syzkaller/prog/ |
D | mutation.go | 172 calls, retry, preserve := arg.Type().mutate(r, s, arg, ctx) 213 func (t *IntType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… func 217 func (t *FlagsType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preser… func 221 func (t *LenType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… func 230 func (t *ResourceType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, pre… func 234 func (t *VmaType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… func 238 func (t *ProcType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserv… func 242 func (t *BufferType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, prese… func 274 func (t *ArrayType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preser… func 309 func (t *PtrType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []*Call, retry, preserve… func [all …]
|
/external/skqp/src/core/ |
D | SkRecord.h | 50 auto mutate(int i, F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) { 51 return fRecords[i].mutate(f); 83 this->mutate(i, destroyer); in replace() 174 auto mutate(F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) {
|
D | SkRecordPattern.h | 151 if (record->mutate(i, *first)) { 162 if (!record->mutate(i, *first)) {
|
/external/skia/src/core/ |
D | SkRecord.h | 50 auto mutate(int i, F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) { 51 return fRecords[i].mutate(f); 83 this->mutate(i, destroyer); in replace() 172 auto mutate(F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) {
|
D | SkRecordPattern.h | 151 if (record->mutate(i, *first)) { 162 if (!record->mutate(i, *first)) {
|
/external/flatbuffers/docs/source/ |
D | GoUsage.md | 78 panic("failed to mutate Hp") 87 panic("failed to mutate Hp") 91 …mutate` is used instead of `set` to indicate that this is a special use case. All mutate functions…
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/ |
D | GeneticAlgorithm.java | 161 getMutationPolicy().mutate(pair.getFirst()), in nextGeneration() 162 getMutationPolicy().mutate(pair.getSecond())); in nextGeneration()
|
D | MutationPolicy.java | 32 Chromosome mutate(Chromosome original); in mutate() method
|
/external/syzkaller/ |
D | Makefile | 84 execprog mutate prog2c stress repro upgrade db \ 100 $(MAKE) manager runtest repro mutate prog2c db upgrade
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | GlideBitmapDrawable.java | 127 public Drawable mutate() { in mutate() method in GlideBitmapDrawable 128 if (!mutated && super.mutate() == this) { in mutate()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | OrderingTest.java | 861 verifyScenario(alteration.mutate(scenario), level + 1); 946 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 953 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 965 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 977 @Override <T> Scenario<?> mutate(final Scenario<T> scenario) { 994 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1008 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1023 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1038 abstract <T> Scenario<?> mutate(Scenario<T> scenario);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | OrderingTest.java | 895 verifyScenario(alteration.mutate(scenario), level + 1); 980 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 987 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 999 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1011 @Override <T> Scenario<?> mutate(final Scenario<T> scenario) { 1028 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1042 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1057 @Override <T> Scenario<?> mutate(Scenario<T> scenario) { 1072 abstract <T> Scenario<?> mutate(Scenario<T> scenario);
|
/external/libprotobuf-mutator/ |
D | METADATA | 3 "libprotobuf-mutator is a library to randomly mutate protobuffers. It could "
|
/external/libprotobuf-mutator/src/libfuzzer/ |
D | libfuzzer_macro.cc | 164 auto mutate = binary ? &MutateBinaryMessage : &MutateTextMessage; in CustomProtoMutator() local 165 return mutate(data, size, max_size, seed, input); in CustomProtoMutator()
|