From a54a918ff3ca46cfbffd2987182cb6abe077b36f Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Fri, 28 Sep 2012 03:53:39 +0000 Subject: Don't abort() when disassembling bad moxie instructions. --- include/opcode/moxie.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/opcode/moxie.h') diff --git a/include/opcode/moxie.h b/include/opcode/moxie.h index e2bc374f0..dae40c8e8 100644 --- a/include/opcode/moxie.h +++ b/include/opcode/moxie.h @@ -60,6 +60,8 @@ #define MOXIE_F3_NARG 0x300 #define MOXIE_F3_PCREL 0x301 +#define MOXIE_BAD 0x400 + typedef struct moxie_opc_info_t { short opcode; @@ -67,6 +69,6 @@ typedef struct moxie_opc_info_t const char * name; } moxie_opc_info_t; -extern const moxie_opc_info_t moxie_form1_opc_info[64]; +extern const moxie_opc_info_t moxie_form1_opc_info[128]; extern const moxie_opc_info_t moxie_form2_opc_info[4]; extern const moxie_opc_info_t moxie_form3_opc_info[16]; -- cgit v1.2.3