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

Method regs_read

bindings/python/capstone/__init__.py:685–696  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

683 # return list of all implicit registers being read.
684 @property
685 def regs_read(self):
686 if self._raw.id == 0:
687 raise CsError(CS_ERR_SKIPDATA)
688
689 if self._cs._diet:
690 # Diet engine cannot provide @regs_read.
691 raise CsError(CS_ERR_DIET)
692
693 if self._cs._detail:
694 return self._raw.detail.contents.regs_read[:self._raw.detail.contents.regs_read_count]
695
696 raise CsError(CS_ERR_DETAIL)
697
698 # return list of all implicit registers being modified
699 @property

Callers

nothing calls this directly

Calls 1

CsErrorClass · 0.85

Tested by

no test coverage detected