Function capstone_sys::cs_group_name[][src]

pub unsafe extern "C" fn cs_group_name(
    handle: csh,
    group_id: c_uint
) -> *const c_char

Return friendly name of a group id (that an instruction can belong to) Find the group id from header file of corresponding architecture (arm.h for ARM, x86.h for X86, ...)

WARN: when in 'diet' mode, this API is irrelevant because the engine does not store group name.

  • handle: handle returned by cs_open()
  • group_id: group id

return: string name of the group, or NULL if group_id is invalid.