summaryrefslogtreecommitdiff
path: root/plugins/pychrysa
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-08-27 18:21:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-08-27 18:21:17 (GMT)
commit5792b6c860810915d62365125cafc6bff096e405 (patch)
tree066866c023a3fb9e6d0e2cb36a295e9b8f727669 /plugins/pychrysa
parent562a56f01cfb81ff7538418dd183aaa53e90b17c (diff)
Handled Dalvik code definition loading with more care.
Diffstat (limited to 'plugins/pychrysa')
-rw-r--r--plugins/pychrysa/format/format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/pychrysa/format/format.c b/plugins/pychrysa/format/format.c
index 773b928..41dab9d 100644
--- a/plugins/pychrysa/format/format.c
+++ b/plugins/pychrysa/format/format.c
@@ -676,6 +676,7 @@ static bool define_python_binary_format_constants(PyTypeObject *obj_type)
result = true;
+ result &= PyDict_AddIntMacro(obj_type, BFE_SPECIFICATION);
result &= PyDict_AddIntMacro(obj_type, BFE_STRUCTURE);
return result;