MCPcopy Create free account
hub / github.com/capstone-engine/capstone / test_cs_disasm_quick

Function test_cs_disasm_quick

bindings/python/tests/test_basic.py:74–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73# ## Test cs_disasm_quick()
74def test_cs_disasm_quick():
75 for arch, mode, code, comment, syntax in all_tests:
76 print('*' * 40)
77 print("Platform: %s" % comment)
78 print("Disasm:"),
79 print(code.hex(' '))
80 for insn in cs_disasm_quick(arch, mode, code, 0x1000):
81 print("0x%x:\t%s\t%s" % (insn.address, insn.mnemonic, insn.op_str))
82 print()
83
84
85def test_different_data_formats():

Callers

nothing calls this directly

Calls 2

cs_disasm_quickFunction · 0.85
hexMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…