Skip to content
Snippets Groups Projects
Commit 1f9e383c authored by Nguyen Anh Quynh's avatar Nguyen Anh Quynh
Browse files

python: cleanup

parent 3aadf88f
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
# This shows how to get out of KsError the number of # This shows how to get out of KsError the number of
# assembly instructions successfully compiled when error occur # assembly instructions successfully compiled when error occur
from keystone import * from keystone import *
CODE = b"INC ecx; yyy; DEC edx" # input assembly with an invalid instruction CODE = b"INC ecx; yyy; DEC edx" # input assembly with an invalid instruction
...@@ -23,7 +22,3 @@ except KsError as e: ...@@ -23,7 +22,3 @@ except KsError as e:
if count is not None: if count is not None:
# print out the number of instructions succesfully compiled # print out the number of instructions succesfully compiled
print("asmcount = %u" %e.get_asm_count()) print("asmcount = %u" %e.get_asm_count())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment