Searched refs:_HF_INPUT_FD (Results 1 – 4 of 4) sorted by relevance
/external/honggfuzz/libhfuzz/ |
D | fetch.c | 27 if (fcntl(_HF_INPUT_FD, F_GETFD) == -1 && errno == EBADF) { in init() 30 if ((inputFile = mmap(NULL, _HF_INPUT_MAX_SIZE, PROT_READ, MAP_SHARED, _HF_INPUT_FD, 0)) == in init() 32 PLOG_F("mmap(fd=%d, size=%zu) of the input file failed", _HF_INPUT_FD, in init()
|
D | persistent.c | 45 if (fcntl(_HF_INPUT_FD, F_GETFD) == -1 && errno == EBADF) { in initializePersistent() 48 if ((inputFile = mmap(NULL, _HF_INPUT_MAX_SIZE, PROT_READ, MAP_SHARED, _HF_INPUT_FD, 0)) == in initializePersistent() 50 PLOG_F("mmap(fd=%d, size=%zu) of the input file failed", _HF_INPUT_FD, in initializePersistent()
|
/external/honggfuzz/ |
D | subproc.c | 261 if (run->global->exe.persistent && dup2(run->dynamicFileFd, _HF_INPUT_FD) == -1) { in subproc_PrepareExecv() 262 PLOG_E("dup2('%d', _HF_INPUT_FD='%d')", run->dynamicFileFd, _HF_INPUT_FD); in subproc_PrepareExecv()
|
D | honggfuzz.h | 79 #define _HF_INPUT_FD 1021 macro
|