replace fuzzer state magic numbers

This commit is contained in:
nhmall
2024-10-12 10:14:44 -04:00
parent 87af3a8cac
commit 57fc8f10a6
4 changed files with 16 additions and 4 deletions

View File

@@ -587,7 +587,7 @@ impossible(const char *s, ...)
va_end(the_args);
pbuf[BUFSZ - 1] = '\0'; /* sanity */
paniclog("impossible", pbuf);
if (iflags.debug_fuzzer == 1)
if (iflags.debug_fuzzer == fuzzer_impossible_panic)
panic("%s", pbuf);
gp.pline_flags = URGENT_MESSAGE;