diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-05-04 06:34:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-05-04 06:34:38 (GMT) |
commit | 6c9e1b5f7ee0915036d47b83f1e34b87b44b1723 (patch) | |
tree | da1b5039502755dd750ff9114083a73e55f5d9ce /src/arch/instructions | |
parent | 78da8b1ad594ca24292eb0f047698bc952b7b961 (diff) |
Recognized reserved instructions as special cases.
Diffstat (limited to 'src/arch/instructions')
-rw-r--r-- | src/arch/instructions/undefined.c | 4 | ||||
-rw-r--r-- | src/arch/instructions/undefined.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/instructions/undefined.c b/src/arch/instructions/undefined.c index da2f73e..6d90a1c 100644 --- a/src/arch/instructions/undefined.c +++ b/src/arch/instructions/undefined.c @@ -258,6 +258,10 @@ const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr) result = "unpredictable"; break; + case IEB_RESERVED: + result = "reserved"; + break; + default: assert(false); result = NULL; diff --git a/src/arch/instructions/undefined.h b/src/arch/instructions/undefined.h index 5aa9bec..8f35f35 100644 --- a/src/arch/instructions/undefined.h +++ b/src/arch/instructions/undefined.h @@ -54,6 +54,7 @@ typedef enum _InstrExpectedBehavior IEB_NOP, IEB_UNDEFINED, IEB_UNPREDICTABLE, + IEB_RESERVED, } InstrExpectedBehavior; |