Merge pull request #180 from trailofbits/incremental_reduce

reducer should save the file at each reduction, so interrupting doesn't lose everything
This commit is contained in:
Alex Groce
2019-04-26 23:12:21 -07:00
committed by GitHub
+3
View File
@@ -229,6 +229,9 @@ def main():
if changed:
currentTest = newTest
print("WRITING REDUCED TEST WITH", len(currentTest), "BYTES TO", out)
with open(out, 'wb') as outf:
outf.write(currentTest)
s = structure(r)
else:
print("NO (MORE) REDUCTIONS FOUND")