summaryrefslogtreecommitdiff
path: root/plugins/pychrysa
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa')
-rw-r--r--plugins/pychrysa/analysis/binaries/file.c2
-rw-r--r--plugins/pychrysa/analysis/binary.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysa/analysis/binaries/file.c b/plugins/pychrysa/analysis/binaries/file.c
index 28bfecb..e5cc2f1 100644
--- a/plugins/pychrysa/analysis/binaries/file.c
+++ b/plugins/pychrysa/analysis/binaries/file.c
@@ -96,7 +96,7 @@ static PyObject *py_binary_file_get_filename(PyObject *self, void *closure)
const char *filename; /* Chemin d'accès à diffuser */
file = G_FILE_BINARY(pygobject_get(self));
- filename = g_file_binary_get_filename(file, true);
+ filename = g_file_binary_get_filename(file);
return PyUnicode_FromString(filename);
diff --git a/plugins/pychrysa/analysis/binary.c b/plugins/pychrysa/analysis/binary.c
index 807df7e..1a513eb 100644
--- a/plugins/pychrysa/analysis/binary.c
+++ b/plugins/pychrysa/analysis/binary.c
@@ -167,7 +167,7 @@ static PyObject *py_loaded_binary_get_disassembled_buffer(PyObject *, void *);
* *
******************************************************************************/
-static PyObject *py_loaded_binary_get_filename(PyObject *self, PyObject *args)
+static PyObject *py_loaded_binary_get_name(PyObject *self, PyObject *args)
{
PyObject *result; /* Trouvailles à retourner */
GLoadedBinary *binary; /* Version native */
@@ -175,7 +175,7 @@ static PyObject *py_loaded_binary_get_filename(PyObject *self, PyObject *args)
binary = G_LOADED_BINARY(pygobject_get(self));
- filename = g_loaded_binary_get_filename(binary, true);
+ filename = g_loaded_binary_get_name(binary, true);
result = PyString_FromString(filename);