Commit Graph

8 Commits

Author SHA1 Message Date
Zach Riggle 5cb3fe320e Add MIPS_GRP_XXX aliases for generic types. 2016-05-03 07:30:31 -07:00
Daniel Collin 2ee675c10a This adds M68K support to Capstone 2015-10-02 20:47:00 +02:00
learn_more 07a7f6c8aa Add missing const for arm64
update suite/test_group_name
2015-08-02 14:21:55 +02:00
learn_more 3e915db782 give reg_name, insn_name, group_name a customizable default instead of returning something else for id 0
remove the check for self._raw.id on reg_name and group_name (in CsInsn, since the to_name functions don't operate on the current instruction)
Add reg_name, insn_name and group_name to Cs.
update test_group_name.py with the new api.
2015-04-28 19:29:51 +02:00
learn_more a1a3132d31 add new group names from next to the test. 2015-04-28 19:25:55 +02:00
Nguyen Anh Quynh 1182d25759 simplify ARCH_group_name() by using lookup table as suggested by @learn_more. also added the missing group name for GRP_PRIVILEGE 2015-04-27 12:13:34 +08:00
Nguyen Anh Quynh 2f263f58d8 suite: better support for Python3 for test_group_name.py 2015-04-26 16:59:11 +08:00
learn_more 653696e287 Validate group names against a hardcoded list per arch.
Also test out-of range values (by overshooting the current max for all arches).

This relies on a small hack (directly importing the ctypes from capstone), because the Cs object does not expose the cs_group_name function directly.
2015-04-26 16:49:04 +08:00