Forward ELF Dynamic Entry ctor

This commit is contained in:
Romain Thomas
2017-09-03 21:23:59 +02:00
parent 123f396d6a
commit 58bf7a2987
7 changed files with 19 additions and 0 deletions
@@ -33,6 +33,11 @@ void init_ELF_DynamicEntryFlags_class(py::module& m) {
py::class_<DynamicEntryFlags, DynamicEntry>(m, "DynamicEntryFlags")
.def(py::init<>())
.def(py::init<DYNAMIC_TAGS, uint64_t>(),
"Constructor with " RST_CLASS_REF(lief.ELF.DYNAMIC_TAGS) " and value",
"tag"_a, "value"_a)
.def_property_readonly("flags",
&DynamicEntryFlags::flags,
"Return list of " RST_CLASS_REF(lief.ELF.DYNAMIC_FLAGS) " or " RST_CLASS_REF(lief.ELF.DYNAMIC_FLAGS_1) " (integer)",