summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-10-14 13:54:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-10-14 13:54:04 (GMT)
commite505ea74b63394100f47233295f0a1835ffb99c2 (patch)
tree8ed09728aff7763ae0e55226090cfa71a7d419a9 /plugins/pychrysalide
parentfc010082fcc5371ff198b5b3321eb81fbe2a6013 (diff)
Refined measures of elapsed time.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/plugin.c10
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);