diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-13 18:41:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-13 18:41:28 (GMT) |
commit | e75a1aea506869d441fc084f78102367be1f9ed2 (patch) | |
tree | 77b46bed6e4026fd764fc3767e1cb9feb660dd56 /plugins | |
parent | 8d4c5ae6dfd812b753109a25d7e84f7e524d4bf0 (diff) |
Simplified the loading process of binary contents.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pychrysalide/analysis/loading.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/plugins/pychrysalide/analysis/loading.c b/plugins/pychrysalide/analysis/loading.c index a0b9c38..dea4e31 100644 --- a/plugins/pychrysalide/analysis/loading.c +++ b/plugins/pychrysalide/analysis/loading.c @@ -44,9 +44,6 @@ /* Ajoute un nouveau contenu découvert au crédit d'un groupe. */ static PyObject *py_content_explorer_populate_group(PyObject *, PyObject *); -/* Note un contenu chargé pour future intégration guidée. */ -static PyObject *py_content_explorer_note_detected(PyObject *, PyObject *); - /* ------------------- RESOLUTION DE CONTENUS BINAIRES EN CHARGES ------------------- */ @@ -97,41 +94,6 @@ static PyObject *py_content_explorer_populate_group(PyObject *self, PyObject *ar } -/****************************************************************************** -* * -* Paramètres : self = classe représentant un binaire. * -* args = arguments fournis à l'appel. * -* * -* Description : Note un contenu chargé pour future intégration guidée. * -* * -* Retour : None. * -* * -* Remarques : - * -* * -******************************************************************************/ - -static PyObject *py_content_explorer_note_detected(PyObject *self, PyObject *args) -{ - PyObject *result; /* Valeur à retourner */ - unsigned long long wid; /* Identifiant de groupe */ - GLoadedContent *loaded; /* Contenu chargé au final */ - int ret; /* Bilan de lecture des args. */ - GContentExplorer *explorer; /* Explorateur à manipuler */ - - ret = PyArg_ParseTuple(args, "KO&", &wid, convert_to_loaded_content, &loaded); - if (!ret) return NULL; - - explorer = G_CONTENT_EXPLORER(pygobject_get(self)); - - g_content_explorer_note_detected(explorer, wid, loaded); - - result = Py_None; - Py_INCREF(result); - - return result; - -} - /****************************************************************************** * * @@ -153,11 +115,6 @@ PyTypeObject *get_python_content_explorer_type(void) METH_VARARGS, "populate_group($self, wid, content, /)\n--\n\nPush a new binary content into the list to explore." }, - { - "note_detected", py_content_explorer_note_detected, - METH_VARARGS, - "note_detected($self, wid, loaded, /)\n--\n\nMark a loaded content as one final candidate." - }, { NULL } }; |