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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user