Lines Matching refs:crashFileName
570 util_ssnprintf(run->report, sizeof(run->report), "FUZZ_FNAME: %s\n", run->crashFileName); in arch_traceGenerateReport()
730 if (run->crashFileName[0] != '\0') { in arch_traceSaveData()
798 snprintf(run->crashFileName, sizeof(run->crashFileName), "%s/%s", run->global->io.crashDir, in arch_traceSaveData()
801 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_traceSaveData()
808 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_traceSaveData()
819 if (files_exists(run->crashFileName)) { in arch_traceSaveData()
820 LOG_I("Crash (dup): '%s' already exists, skipping", run->crashFileName); in arch_traceSaveData()
822 memset(run->crashFileName, 0, sizeof(run->crashFileName)); in arch_traceSaveData()
826 if (!files_writeBufToFile(run->crashFileName, run->dynamicFile, run->dynamicFileSz, in arch_traceSaveData()
828 LOG_E("Couldn't write to '%s'", run->crashFileName); in arch_traceSaveData()
837 LOG_I("Crash: saved as '%s'", run->crashFileName); in arch_traceSaveData()
981 if (run->crashFileName[0] != '\0') { in arch_traceExitSaveData()
1037 snprintf(run->crashFileName, sizeof(run->crashFileName), "%s/%s", run->global->io.crashDir, in arch_traceExitSaveData()
1042 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_traceExitSaveData()
1050 snprintf(run->crashFileName, sizeof(run->crashFileName), in arch_traceExitSaveData()
1057 int fd = open(run->crashFileName, O_WRONLY | O_EXCL | O_CREAT, 0600); in arch_traceExitSaveData()
1059 LOG_I("It seems that '%s' already exists, skipping", run->crashFileName); in arch_traceExitSaveData()
1062 PLOG_E("Cannot create output file '%s'", run->crashFileName); in arch_traceExitSaveData()
1069 LOG_I("Ok, that's interesting, saved new crash as '%s'", run->crashFileName); in arch_traceExitSaveData()
1076 LOG_E("Couldn't save crash to '%s'", run->crashFileName); in arch_traceExitSaveData()
1079 memset(run->crashFileName, 0, sizeof(run->crashFileName)); in arch_traceExitSaveData()
1088 util_ssnprintf(run->report, sizeof(run->report), "FUZZ_FNAME: %s\n", run->crashFileName); in arch_traceExitSaveData()