Home
last modified time | relevance | path

Searched refs:maxFileSz (Results 1 – 6 of 6) sorted by relevance

/external/honggfuzz/
Dinput.c56 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 …]
Dmangle.c73 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()
Dcmdline.c232 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()
Dfuzz.c459 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()
Dhonggfuzz.h232 size_t maxFileSz; member
Ddisplay.c220 hfuzz->io.dynfileqCnt, hfuzz->mutate.maxFileSz, ATOMIC_GET(hfuzz->io.fileCnt)); in display_displayLocked()