Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
suite: minor fixes for fuzz.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Mar 4, 2014
1 parent 6b95e5e commit 1cf70fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suite/fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ def cs_lite(md, code):
except:
pass

print("Fuzzing platform: %s" %comment)

try:
md = Cs(arch, mode)
md.detail = True
Expand All @@ -92,6 +90,7 @@ def cs_lite(md, code):
md.syntax = syntax

# test disasm()
print("Fuzzing disasm() @platform: %s" %comment)
for i in xrange(1, TIMES):
while (True):
code = get_code(cfile, i * 4)
Expand All @@ -102,6 +101,7 @@ def cs_lite(md, code):
cs(md, code)

# test disasm_lite()
print("Fuzzing disasm_lite() @platform: %s" %comment)
cfile.seek(0)
for i in xrange(1, TIMES):
while (True):
Expand Down

0 comments on commit 1cf70fe

Please sign in to comment.