summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-04-20 12:13:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-04-20 12:13:39 (GMT)
commit7e945d90b17b58832f561cce8ce778abcd4a360f (patch)
treed8e121d1d056eb7f666d6d3a38c4b3b3d2be6332 /plugins/pychrysalide/arch
parent14d17285cdfae2fe6bd7df0e873ef11ef876e12c (diff)
Counted available references between instructions.
Diffstat (limited to 'plugins/pychrysalide/arch')
-rw-r--r--plugins/pychrysalide/arch/instruction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/pychrysalide/arch/instruction.c b/plugins/pychrysalide/arch/instruction.c
index fb2df5b..1be3edb 100644
--- a/plugins/pychrysalide/arch/instruction.c
+++ b/plugins/pychrysalide/arch/instruction.c
@@ -864,6 +864,7 @@ static bool py_arch_instruction_define_constants(PyTypeObject *obj_type)
result &= PyDict_AddULongMacro(obj_type, ILT_CALL);
result &= PyDict_AddULongMacro(obj_type, ILT_CATCH_EXCEPTION);
result &= PyDict_AddULongMacro(obj_type, ILT_REF);
+ result &= PyDict_AddULongMacro(obj_type, ILT_COUNT);
return result;