Searched refs:maxFileSz (Results 1 – 6 of 6) sorted by relevance
/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() 348 input_setSize(run, run->global->mutate.maxFileSz); in input_prepareStaticFile() [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() 832 size_t sz = util_rndGet(1, run->global->mutate.maxFileSz); in mangle_Resize()
|
D | cmdline.c | 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() 297 .maxFileSz = 0UL, in cmdlineParse() 555 hfuzz->mutate.maxFileSz = strtoul(optarg, NULL, 0); in cmdlineParse()
|
D | fuzz.c | 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() 489 input_setSize(&run, run.global->mutate.maxFileSz); in fuzz_threadNew()
|
D | honggfuzz.h | 232 size_t maxFileSz; member
|
D | display.c | 220 hfuzz->io.dynfileqCnt, hfuzz->mutate.maxFileSz, ATOMIC_GET(hfuzz->io.fileCnt)); in display_displayLocked()
|