// The arch is implicit in the Engine. Accepts a constant like // ARM_INSN_ADD, or insn.Id // // WARNING: Always returns "" if capstone built with CAPSTONE_DIET func (e *Engine) InsnName(insn uint) string { if dietMode { return "" } return C.GoString(C.cs_insn_name(e.handle, C.uint(insn))) }
// The arch is implicit in the Engine. Accepts a constant like // ARM_INSN_ADD, or insn.Id func (e Engine) InsnName(insn uint) string { return C.GoString(C.cs_insn_name(e.handle, C.uint(insn))) }