diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-10-14 13:54:04 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-10-14 13:54:04 (GMT) |
commit | e505ea74b63394100f47233295f0a1835ffb99c2 (patch) | |
tree | 8ed09728aff7763ae0e55226090cfa71a7d419a9 /plugins/pychrysalide | |
parent | fc010082fcc5371ff198b5b3321eb81fbe2a6013 (diff) |
Refined measures of elapsed time.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r-- | plugins/pychrysalide/plugin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/pychrysalide/plugin.c b/plugins/pychrysalide/plugin.c index eb6d00d..e57ffaf 100644 --- a/plugins/pychrysalide/plugin.c +++ b/plugins/pychrysalide/plugin.c @@ -747,11 +747,21 @@ static bool py_plugin_module_define_constants(PyTypeObject *obj_type) result = true; result &= PyDict_AddIntMacro(obj_type, PGA_BASIC_NONE); + result &= PyDict_AddIntMacro(obj_type, PGA_PLUGIN_INIT); result &= PyDict_AddIntMacro(obj_type, PGA_PLUGIN_EXIT); + result &= PyDict_AddIntMacro(obj_type, PGA_CONTENT_EXPLORER); result &= PyDict_AddIntMacro(obj_type, PGA_CONTENT_RESOLVER); + result &= PyDict_AddIntMacro(obj_type, PGA_CONTENT_ANALYZED); + + result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_ANALYSIS_STARTED); + result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_PRELOAD); result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_LOADER_LAST); + result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_ANALYSIS_ENDED); + result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_POST_ANALYSIS_STARTED); + result &= PyDict_AddIntMacro(obj_type, PGA_FORMAT_POST_ANALYSIS_ENDED); + result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_STARTED); result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_RAW); result &= PyDict_AddIntMacro(obj_type, PGA_DISASSEMBLY_HOOKED_LINK); |