Module cs_err

Source

Constants§

CS_ERR_ARCH
< Unsupported architecture: cs_open()
CS_ERR_CSH
< Invalid csh argument: cs_close(), cs_errno(), cs_option()
CS_ERR_DETAIL
< Information is unavailable because detail option is OFF
CS_ERR_DIET
< Access irrelevant data in “diet” engine
CS_ERR_HANDLE
< Invalid handle: cs_op_count(), cs_op_index()
CS_ERR_MEM
< Out-Of-Memory error: cs_open(), cs_disasm(), cs_disasm_iter()
CS_ERR_MEMSETUP
< Dynamic memory management uninitialized (see CS_OPT_MEM)
CS_ERR_MODE
< Invalid/unsupported mode: cs_open()
CS_ERR_OK
< No error: everything was fine
CS_ERR_OPTION
< Invalid/unsupported option: cs_option()
CS_ERR_SKIPDATA
< Access irrelevant data for “data” instruction in SKIPDATA mode
CS_ERR_VERSION
< Unsupported version (bindings)
CS_ERR_X86_ATT
< X86 AT&T syntax is unsupported (opt-out at compile time)
CS_ERR_X86_INTEL
< X86 Intel syntax is unsupported (opt-out at compile time)
CS_ERR_X86_MASM
< X86 Masm syntax is unsupported (opt-out at compile time)

Type Aliases§

Type
All type of errors encountered by Capstone API. These are values returned by cs_errno()