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

Class CsError

bindings/python/capstone/__init__.py:513–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511
512# access to error code via @errno of CsError
513class CsError(Exception):
514 def __init__(self, errno):
515 self.errno = errno
516
517 if _python2:
518 def __str__(self):
519 return _cs.cs_strerror(self.errno)
520
521 else:
522 def __str__(self):
523 return _cs.cs_strerror(self.errno).decode()
524
525
526# return the core's version

Callers 15

cs_disasm_quickFunction · 0.85
cs_disasm_liteFunction · 0.85
mnemonicMethod · 0.85
op_strMethod · 0.85
regs_readMethod · 0.85
regs_writeMethod · 0.85
groupsMethod · 0.85
__getattr__Method · 0.85
reg_nameMethod · 0.85
insn_nameMethod · 0.85
group_nameMethod · 0.85
groupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…