diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-27 18:21:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-27 18:21:17 (GMT) |
commit | 5792b6c860810915d62365125cafc6bff096e405 (patch) | |
tree | 066866c023a3fb9e6d0e2cb36a295e9b8f727669 /plugins/pychrysa/format | |
parent | 562a56f01cfb81ff7538418dd183aaa53e90b17c (diff) |
Handled Dalvik code definition loading with more care.
Diffstat (limited to 'plugins/pychrysa/format')
-rw-r--r-- | plugins/pychrysa/format/format.c | 1 |
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; |