cs_insn_name

Return friendly name of an instruction 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 the engine does not store instruction name.

@handle: handle returned by cs_open() @insn_id: instruction id

@return: string name of the instruction, or NULL if @insn_id is invalid.

extern (C)
const(char)*
cs_insn_name
(
csh handle
,
uint insn_id
)

Meta