summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/instructions/constants.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-04 06:34:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-04 06:34:38 (GMT)
commit6c9e1b5f7ee0915036d47b83f1e34b87b44b1723 (patch)
treeda1b5039502755dd750ff9114083a73e55f5d9ce /plugins/pychrysalide/arch/instructions/constants.c
parent78da8b1ad594ca24292eb0f047698bc952b7b961 (diff)
Recognized reserved instructions as special cases.
Diffstat (limited to 'plugins/pychrysalide/arch/instructions/constants.c')
-rw-r--r--plugins/pychrysalide/arch/instructions/constants.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/pychrysalide/arch/instructions/constants.c b/plugins/pychrysalide/arch/instructions/constants.c
index b5e08e1..af7baa9 100644
--- a/plugins/pychrysalide/arch/instructions/constants.c
+++ b/plugins/pychrysalide/arch/instructions/constants.c
@@ -96,6 +96,7 @@ bool define_undefined_instruction_constants(PyTypeObject *type)
result = add_const_to_group(values, "NOP", IEB_NOP);
if (result) result = add_const_to_group(values, "UNDEFINED", IEB_UNDEFINED);
if (result) result = add_const_to_group(values, "UNPREDICTABLE", IEB_UNPREDICTABLE);
+ if (result) result = add_const_to_group(values, "RESERVED", IEB_RESERVED);
if (!result)
{
@@ -103,7 +104,7 @@ bool define_undefined_instruction_constants(PyTypeObject *type)
goto exit;
}
- result = attach_constants_group_to_type(type, false, "InstrExpectedBehavior", values,
+ result = attach_constants_group_to_type(type, false, "ExpectedBehavior", values,
"List of possible behaviors of undefined instructions.");
exit: