Home
last modified time | relevance | path

Searched refs:crashFileName (Results 1 – 5 of 5) sorted by relevance

/external/honggfuzz/linux/
Dtrace.c570 util_ssnprintf(run->report, sizeof(run->report), "FUZZ_FNAME: %s\n", run->crashFileName); in arch_traceGenerateReport()
733 if (run->crashFileName[0] != '\0') { in arch_traceSaveData()
800 snprintf(run->crashFileName, sizeof(run->crashFileName), "%s/%s", run->global->io.crashDir, in arch_traceSaveData()
803 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_traceSaveData()
810 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_traceSaveData()
816 if (files_exists(run->crashFileName)) { in arch_traceSaveData()
817 LOG_I("It seems that '%s' already exists, skipping", run->crashFileName); in arch_traceSaveData()
819 memset(run->crashFileName, 0, sizeof(run->crashFileName)); in arch_traceSaveData()
823 if (files_writeBufToFile(run->crashFileName, run->dynamicFile, run->dynamicFileSz, in arch_traceSaveData()
825 LOG_E("Couldn't copy '%s' to '%s'", run->fileName, run->crashFileName); in arch_traceSaveData()
[all …]
/external/honggfuzz/mac/
Darch.c161 util_ssnprintf(run->report, sizeof(run->report), "FUZZ_FNAME: %s\n", run->crashFileName); in arch_generateReport()
255 snprintf(run->crashFileName, sizeof(run->crashFileName), "%s/%s", run->global->io.crashDir, in arch_analyzeSignal()
258 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_analyzeSignal()
266 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_analyzeSignal()
272 if (files_exists(run->crashFileName)) { in arch_analyzeSignal()
273 LOG_I("It seems that '%s' already exists, skipping", run->crashFileName); in arch_analyzeSignal()
275 memset(run->crashFileName, 0, sizeof(run->crashFileName)); in arch_analyzeSignal()
279 if (files_writeBufToFile(run->crashFileName, run->dynamicFile, run->dynamicFileSz, in arch_analyzeSignal()
281 LOG_E("Couldn't copy '%s' to '%s'", run->fileName, run->crashFileName); in arch_analyzeSignal()
285 LOG_I("Ok, that's interesting, saved '%s' as '%s'", run->fileName, run->crashFileName); in arch_analyzeSignal()
/external/honggfuzz/
Dfuzz.c270 crashBuf = files_mapFile(crashedFuzzer->crashFileName, &crashFileSz, &crashFd, false); in fuzz_runVerifier()
272 LOG_E("Couldn't open and map '%s' in R/O mode", crashedFuzzer->crashFileName); in fuzz_runVerifier()
288 .crashFileName = {0}, in fuzz_runVerifier()
354 snprintf(verFile, sizeof(verFile), "%s.verified", crashedFuzzer->crashFileName); in fuzz_runVerifier()
359 crashedFuzzer->crashFileName, verFile, &dstFileExists, true /* try_link */)) { in fuzz_runVerifier()
362 unlink(crashedFuzzer->crashFileName); in fuzz_runVerifier()
367 LOG_E("Couldn't copy '%s' to '%s'", crashedFuzzer->crashFileName, verFile); in fuzz_runVerifier()
538 run->crashFileName[0] = '\0'; in fuzz_fuzzLoop()
621 if (run->global->useVerifier && (run->crashFileName[0] != 0) && run->backtrace) { in fuzz_fuzzLoop()
623 LOG_I("Failed to verify %s", run->crashFileName); in fuzz_fuzzLoop()
Dhonggfuzz.h290 char crashFileName[PATH_MAX]; member
/external/honggfuzz/posix/
Darch.c142 LOG_E("Couldn't copy '%s' to '%s'", run->fileName, run->crashFileName); in arch_analyzeSignal()