python: clean test_skipdata.py

This commit is contained in:
Nguyen Anh Quynh 2015-04-27 11:12:53 +08:00
parent 627b901f36
commit 44adb35f6a
1 changed files with 0 additions and 12 deletions

View File

@ -17,18 +17,6 @@ all_tests = (
)
# ## Test cs_disasm_quick()
def test_cs_disasm_quick():
for (arch, mode, code, comment, syntax) in all_tests:
print('*' * 40)
print("Platform: %s" % comment)
print("Disasm:"),
print(to_hex(code))
for insn in cs_disasm_quick(arch, mode, code, 0x1000):
print("0x%x:\t%s\t%s" % (insn.address, insn.mnemonic, insn.op_str))
print
# Sample callback for SKIPDATA option
def testcb(buffer, size, offset, userdata):
# always skip 2 bytes of data