|
Zydis
v2.0.2
|
Status code definitions and check macros. More...
#include <Zydis/CommonTypes.h>

Go to the source code of this file.
Macros | |
| #define | ZYDIS_SUCCESS(status) (status == ZYDIS_STATUS_SUCCESS) |
| Checks if a zydis operation was successfull. More... | |
| #define | ZYDIS_CHECK(status) |
| Checks if a zydis operation was successfull and returns the status-code, if not. More... | |
Typedefs | |
| typedef ZydisU32 | ZydisStatus |
Defines the ZydisStatus datatype. More... | |
Enumerations | |
| enum | ZydisStatusCodes { ZYDIS_STATUS_SUCCESS = 0x00000000 , ZYDIS_STATUS_INVALID_PARAMETER , ZYDIS_STATUS_INVALID_OPERATION , ZYDIS_STATUS_INSUFFICIENT_BUFFER_SIZE , ZYDIS_STATUS_NO_MORE_DATA , ZYDIS_STATUS_DECODING_ERROR , ZYDIS_STATUS_INSTRUCTION_TOO_LONG , ZYDIS_STATUS_BAD_REGISTER , ZYDIS_STATUS_ILLEGAL_LOCK , ZYDIS_STATUS_ILLEGAL_LEGACY_PFX , ZYDIS_STATUS_ILLEGAL_REX , ZYDIS_STATUS_INVALID_MAP , ZYDIS_STATUS_MALFORMED_EVEX , ZYDIS_STATUS_MALFORMED_MVEX , ZYDIS_STATUS_INVALID_MASK , ZYDIS_STATUS_SKIP_OPERAND , ZYDIS_STATUS_IMPOSSIBLE_INSTRUCTION , ZYDIS_STATUS_USER = 0x10000000 } |
| Values that represent a zydis status-codes. More... | |
Status code definitions and check macros.
| #define ZYDIS_CHECK | ( | status | ) |
Checks if a zydis operation was successfull and returns the status-code, if not.
| status | The zydis status-code to check. |
| #define ZYDIS_SUCCESS | ( | status | ) | (status == ZYDIS_STATUS_SUCCESS) |
Checks if a zydis operation was successfull.
| status | The zydis status-code to check. |
| typedef ZydisU32 ZydisStatus |
Defines the ZydisStatus datatype.
| enum ZydisStatusCodes |
Values that represent a zydis status-codes.