cs_reg_name

Return friendly name of register in a string. Find the instruction 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 engine does not store register name.

@handle: handle returned by cs_open() @reg_id: register id

@return: string name of the register, or NULL if @reg_id is invalid.

extern (C)
const(char)*
cs_reg_name
(
csh handle
,
uint reg_id
)

Meta