Enum capstone::Error [−][src]
pub enum Error {}Show variants
OutOfMemory, UnsupportedArch, InvalidHandle, InvalidCsh, InvalidMode, InvalidOption, DetailOff, UninitializedMemSetup, UnsupportedVersion, IrrelevantDataInDiet, IrrelevantDataInSkipData, UnsupportedX86Att, UnsupportedX86Intel, UnsupportedX86Masm, UnknownCapstoneError, InvalidM68kBitfieldRegister, CustomError(&'static str),
Expand description
An error enum for this library
Variants
Out-Of-Memory error: cs_open(), cs_disasm(), cs_disasm_iter()
Unsupported Architecture: cs_open()
Invalid Handle: cs_op_count(), cs_op_index()
Invalid InvalidCsh argument: cs_close(), cs_errno(), cs_option()
Invalid/unsupported mode: cs_open()
Invalid/unsupported option: cs_option()
Information is unavailable because detail option is OFF
Dynamic Memory management uninitialized (see CS_OPT_MEM)
Unsupported Version (bindings)
Access irrelevant data in “diet” engine
Access irrelevant data for “data” instruction in SKIPDATA Mode
X86 AT&T syntax is unsupported (opt-out at compile time)
X86 Intel syntax is unsupported (opt-out at compile time)
X86 MASM syntax is unsupported (opt-out at compile time)
An unknown error not equal to a CapstoneError
Invalid M68K bitfield register
Error with a custom message
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more