Fuzz testing debug tool
Add code to run a fuzz tester, simulating (more-or-less) random keyboard mashing. There's no option to turn it on, you need to set iflags.debug_fuzzer on via a debugger or something along those lines.
This commit is contained in:
@@ -77,6 +77,8 @@ static unsigned ustuck_id = 0, usteed_id = 0;
|
||||
int
|
||||
dosave()
|
||||
{
|
||||
if (iflags.debug_fuzzer)
|
||||
return 0;
|
||||
clear_nhwindow(WIN_MESSAGE);
|
||||
if (yn("Really save?") == 'n') {
|
||||
clear_nhwindow(WIN_MESSAGE);
|
||||
|
||||
Reference in New Issue
Block a user