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

Method group_name

bindings/python/capstone/__init__.py:820–825  ·  view source on GitHub ↗
(self, group_id, default=None)

Source from the content-addressed store, hash-verified

818
819 # get the group name
820 def group_name(self, group_id, default=None):
821 if self._cs._diet:
822 # Diet engine cannot provide group name
823 raise CsError(CS_ERR_DIET)
824
825 return _ascii_name_or_default(_cs.cs_group_name(self._cs.csh, group_id), default)
826
827
828 # verify if this insn belong to group with id as @group_id

Callers

nothing calls this directly

Calls 3

CsErrorClass · 0.85
_ascii_name_or_defaultFunction · 0.85
cs_group_nameMethod · 0.80

Tested by

no test coverage detected