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

Method groups

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

Source from the content-addressed store, hash-verified

713 # return list of semantic groups this instruction belongs to.
714 @property
715 def groups(self):
716 if self._raw.id == 0:
717 raise CsError(CS_ERR_SKIPDATA)
718
719 if self._cs._diet:
720 # Diet engine cannot provide @groups
721 raise CsError(CS_ERR_DIET)
722
723 if self._cs._detail:
724 return self._raw.detail.contents.groups[:self._raw.detail.contents.groups_count]
725
726 raise CsError(CS_ERR_DETAIL)
727
728 def __gen_detail(self):
729 if self._raw.id == 0:

Callers

nothing calls this directly

Calls 1

CsErrorClass · 0.85

Tested by

no test coverage detected