summaryrefslogtreecommitdiff
path: root/plugins/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-05-07 14:24:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-05-07 14:24:16 (GMT)
commitc136e2c4c1ad02ea2e363fbe71ce54c6255793e2 (patch)
treeba19cc948ac23a3930d9943e94f8e37ec86991c1 /plugins/elf
parentb38035259b6e09c77d87950fe409fb72d09887d3 (diff)
Extended the Python bindings for the Dex format.
Diffstat (limited to 'plugins/elf')
-rw-r--r--plugins/elf/python/constants.c8
-rw-r--r--plugins/elf/python/constants.h2
-rw-r--r--plugins/elf/python/format.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/elf/python/constants.c b/plugins/elf/python/constants.c
index 098443c..25b739a 100644
--- a/plugins/elf/python/constants.c
+++ b/plugins/elf/python/constants.c
@@ -33,7 +33,7 @@
/* Définit les constantes communes pour le format Elf. */
-static bool define_python_binary_format_common_constants(PyTypeObject *);
+static bool define_python_elf_format_common_constants(PyTypeObject *);
/******************************************************************************
@@ -48,7 +48,7 @@ static bool define_python_binary_format_common_constants(PyTypeObject *);
* *
******************************************************************************/
-static bool define_python_binary_format_common_constants(PyTypeObject *obj_type)
+static bool define_python_elf_format_common_constants(PyTypeObject *obj_type)
{
bool result; /* Bilan à retourner */
@@ -379,11 +379,11 @@ static bool define_python_binary_format_common_constants(PyTypeObject *obj_type)
* *
******************************************************************************/
-bool define_python_binary_format_constants(PyTypeObject *obj_type)
+bool define_python_elf_format_constants(PyTypeObject *obj_type)
{
bool result; /* Bilan à retourner */
- result = define_python_binary_format_common_constants(obj_type);
+ result = define_python_elf_format_common_constants(obj_type);
return result;
diff --git a/plugins/elf/python/constants.h b/plugins/elf/python/constants.h
index 95b840c..d395230 100644
--- a/plugins/elf/python/constants.h
+++ b/plugins/elf/python/constants.h
@@ -32,7 +32,7 @@
/* Définit les constantes pour le format Elf. */
-bool define_python_binary_format_constants(PyTypeObject *);
+bool define_python_elf_format_constants(PyTypeObject *);
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c
index 2d5bfd8..0319ba9 100644
--- a/plugins/elf/python/format.c
+++ b/plugins/elf/python/format.c
@@ -257,7 +257,7 @@ bool register_python_elf_format(PyObject *module)
py_elf_format_type, get_python_executable_format_type()))
return false;
- if (!define_python_binary_format_constants(py_elf_format_type))
+ if (!define_python_elf_format_constants(py_elf_format_type))
return false;
return true;