summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-11-18 18:46:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-11-18 18:46:08 (GMT)
commit0f914ad3fdcc1ebac5789b55b9677e7868016e21 (patch)
treebafc46ac54d02ff35310c3433615e6b74010a920 /plugins/pychrysalide
parent23bc425f9c35c31a80d65d824452c8728614a206 (diff)
Allowed to attach debug information to formats.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/plugin.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/pychrysalide/plugin.c b/plugins/pychrysalide/plugin.c
index 34a0129..fb2044d 100644
--- a/plugins/pychrysalide/plugin.c
+++ b/plugins/pychrysalide/plugin.c
@@ -408,10 +408,6 @@ GPluginModule *g_python_plugin_new(const char *modname, const char *filename)
switch (action)
{
- case PGA_FORMAT_LOADER_LAST:
- /* TODO */
- break;
-
default:
log_variadic_message(LMT_WARNING,
_("Unknown action '0x%02x' in plugin '%s'..."),
@@ -757,7 +753,7 @@ static bool py_plugin_module_define_constants(PyTypeObject *obj_type)
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_ATTACH_DEBUG);
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);