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

Function print_read_write_regs

bindings/python/tests/test_sh.py:23–28  ·  view source on GitHub ↗
(insn)

Source from the content-addressed store, hash-verified

21]
22
23def print_read_write_regs(insn):
24 if len(insn.regs_read) > 0:
25 print("\tRegisters read: %s" % " ".join(insn.reg_name(m) for m in insn.regs_read))
26
27 if len(insn.regs_write) > 0:
28 print("\tRegisters modified: %s" % " ".join(insn.reg_name(m) for m in insn.regs_write))
29
30def print_insn_detail(insn):
31 # print address, mnemonic and operands

Callers 1

print_insn_detailFunction · 0.70

Calls 1

reg_nameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…