We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7971bbb commit f8916c6Copy full SHA for f8916c6
FuzzTesting/differential.py
@@ -50,11 +50,13 @@ def run(args):
50
# If the target program fails, save the wasm file
51
crash_file = os.path.join(fail_dir, f"diff-{i}.wasm")
52
shutil.copy(wasm_file, crash_file)
53
- print(f"Found crash in iteration {i}")
+ print(f"Found crash in iteration {i};"
54
+ " reproduce with {args.program} {crash_file}")
55
except subprocess.TimeoutExpired:
56
timeout_file = os.path.join(fail_dir, f"timeout-{i}.wasm")
57
shutil.copy(wasm_file, timeout_file)
- print(f"Timeout in iteration {i}")
58
+ print(f"Timeout in iteration {i};"
59
+ " reproduce with {args.program} {timeout_file})")
60
except KeyboardInterrupt:
61
print("Interrupted by user")
62
break
0 commit comments