try logging as fuzzer
This commit is contained in:
@@ -170,14 +170,14 @@ int vfprintf(FILE *file, const char *format, va_list args) {
|
||||
} else if (stdout == file) {
|
||||
DeepState_LogVFormat(DeepState_LogInfo, format, args);
|
||||
} else {
|
||||
#ifndef LIBFUZZER
|
||||
DeepState_LogStream(DeepState_LogWarning);
|
||||
DeepState_Log(DeepState_LogWarning,
|
||||
"vfprintf with non-stdout/stderr stream follows:");
|
||||
DeepState_LogVFormat(DeepState_LogInfo, format, args);
|
||||
#else
|
||||
DeepState_LogVFormat(DeepState_LogFuzzer, format, args);
|
||||
#endif
|
||||
if (!DeepState_UsingLibFuzzer) {
|
||||
DeepState_LogStream(DeepState_LogWarning);
|
||||
DeepState_Log(DeepState_LogWarning,
|
||||
"vfprintf with non-stdout/stderr stream follows:");
|
||||
DeepState_LogVFormat(DeepState_LogInfo, format, args);
|
||||
} else {
|
||||
DeepState_LogVFormat(DeepState_LogFuzzer, format, args);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user