Go to the documentation of this file.
32 #ifndef ZYDIS_STATUS_H
33 #define ZYDIS_STATUS_H
35 #include <Zycore/Status.h>
52 #define ZYAN_MODULE_ZYDIS 0x002
66 #define ZYDIS_STATUS_NO_MORE_DATA \
67 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x00)
73 #define ZYDIS_STATUS_DECODING_ERROR \
74 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x01)
79 #define ZYDIS_STATUS_INSTRUCTION_TOO_LONG \
80 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x02)
85 #define ZYDIS_STATUS_BAD_REGISTER \
86 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x03)
92 #define ZYDIS_STATUS_ILLEGAL_LOCK \
93 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x04)
99 #define ZYDIS_STATUS_ILLEGAL_LEGACY_PFX \
100 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x05)
105 #define ZYDIS_STATUS_ILLEGAL_REX \
106 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x06)
111 #define ZYDIS_STATUS_INVALID_MAP \
112 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x07)
117 #define ZYDIS_STATUS_MALFORMED_EVEX \
118 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x08)
123 #define ZYDIS_STATUS_MALFORMED_MVEX \
124 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x09)
129 #define ZYDIS_STATUS_INVALID_MASK \
130 ZYAN_MAKE_STATUS(1, ZYAN_MODULE_ZYDIS, 0x0A)
148 #define ZYDIS_STATUS_SKIP_TOKEN \
149 ZYAN_MAKE_STATUS(0, ZYAN_MODULE_ZYDIS, 0x0B)