summaryrefslogtreecommitdiff
path: root/plugins/elf/python/format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-12 21:00:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-12 21:00:45 (GMT)
commit332da5c182e576400a0b1e2ae62c2b990a5e52f1 (patch)
treeca25811f8c2abaae8d835554d38d243c946fbe96 /plugins/elf/python/format.c
parent7591f34e7e9d5dd0f20d242394628ab4bcd0a430 (diff)
Updated the list of tags for ELF dynamic entries.
Diffstat (limited to 'plugins/elf/python/format.c')
-rw-r--r--plugins/elf/python/format.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c
index 84aa68c..1ff22bd 100644
--- a/plugins/elf/python/format.c
+++ b/plugins/elf/python/format.c
@@ -36,6 +36,7 @@
#include <plugins/pychrysa/format/executable.h>
+#include "constants.h"
#include "../format.h"
@@ -193,6 +194,9 @@ 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))
+ return false;
+
return true;
}