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 0x002u
66 #define ZYDIS_STATUS_NO_MORE_DATA \
67 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x00u)
73 #define ZYDIS_STATUS_DECODING_ERROR \
74 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x01u)
79 #define ZYDIS_STATUS_INSTRUCTION_TOO_LONG \
80 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x02u)
85 #define ZYDIS_STATUS_BAD_REGISTER \
86 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x03u)
92 #define ZYDIS_STATUS_ILLEGAL_LOCK \
93 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x04u)
99 #define ZYDIS_STATUS_ILLEGAL_LEGACY_PFX \
100 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x05u)
105 #define ZYDIS_STATUS_ILLEGAL_REX \
106 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x06u)
111 #define ZYDIS_STATUS_INVALID_MAP \
112 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x07u)
117 #define ZYDIS_STATUS_MALFORMED_EVEX \
118 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x08u)
123 #define ZYDIS_STATUS_MALFORMED_MVEX \
124 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x09u)
129 #define ZYDIS_STATUS_INVALID_MASK \
130 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x0Au)
148 #define ZYDIS_STATUS_SKIP_TOKEN \
149 ZYAN_MAKE_STATUS(0u, ZYAN_MODULE_ZYDIS, 0x0Bu)
155 #define ZYDIS_STATUS_IMPOSSIBLE_INSTRUCTION \
156 ZYAN_MAKE_STATUS(1u, ZYAN_MODULE_ZYDIS, 0x0Cu)