summaryrefslogtreecommitdiff
path: root/plugins/elf/python/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf/python/format.c')
-rw-r--r--plugins/elf/python/format.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/elf/python/format.c b/plugins/elf/python/format.c
index 4e2b7cc..b78dadb 100644
--- a/plugins/elf/python/format.c
+++ b/plugins/elf/python/format.c
@@ -180,7 +180,12 @@ PyTypeObject *get_python_elf_format_type(void)
{
"find_dynamic_item_by_index", py_elf_format_find_dynamic_item_by_index,
METH_VARARGS,
- "find_dynamic_item_by_index($self, type, /)\n--\n\nFind an item from the dynamic segment using a given index."
+ "find_dynamic_item_by_index($self, index, /)\n--\n\nFind an item from the dynamic segment using a given index."
+ },
+ {
+ "find_dynamic_item_by_type", py_elf_format_find_dynamic_item_by_type,
+ METH_VARARGS,
+ "find_dynamic_item_by_type($self, type, /)\n--\n\nFind an item from the dynamic segment using a given type."
},
{ NULL }
};