Expose Python API to remove ELF static symbols

This commit is contained in:
Romain Thomas
2018-07-23 13:23:04 +02:00
parent 0c9ecec7c5
commit c6779702b1
+4
View File
@@ -432,6 +432,10 @@ void create<Binary>(py::module& m) {
py::return_value_policy::reference)
.def("remove_static_symbol",
static_cast<void(Binary::*)(Symbol* s)>(&Binary::remove_static_symbol),
"Remove the given " RST_CLASS_REF(lief.ELF.Symbol) " in the ``.symtab`` section")
.def("add_exported_function",
&Binary::add_exported_function,
"Create a symbol for the function at the given ``address`` and export it",