summaryrefslogtreecommitdiff
path: root/plugins/elf/python/format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-29 16:24:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-29 16:24:20 (GMT)
commit7fd6e0b76f33de5934fad17efb75366904a3875b (patch)
tree51ddde83844efe7a653bb33bf93e73d6323c9f45 /plugins/elf/python/format.c
parent046c2cfac39e686dee65cdf54035dc5a975bc57f (diff)
Provided the list of needed shared objects for an Elf binary.
Diffstat (limited to 'plugins/elf/python/format.c')
-rw-r--r--plugins/elf/python/format.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c
index 1ff22bd..eb1bedb 100644
--- a/plugins/elf/python/format.c
+++ b/plugins/elf/python/format.c
@@ -37,6 +37,7 @@
#include "constants.h"
+#include "dynamic.h"
#include "../format.h"
@@ -144,6 +145,10 @@ PyTypeObject *get_python_elf_format_type(void)
};
static PyGetSetDef py_elf_format_getseters[] = {
+ {
+ "needed", py_elf_format_get_needed, NULL,
+ "Provide the list of requiered shared objects.", NULL
+ },
{ NULL }
};