mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
This commit cleans and modernizes the code base of LIEF.
Among the changes: - It removes the ``and, or, not`` keywords - It updates the Documentation - It moves the internal structures in the ``details::`` namespace
This commit is contained in:
@@ -36,12 +36,14 @@ using setter_t = void (DynamicEntryRunPath::*)(T);
|
||||
template<>
|
||||
void create<DynamicEntryRunPath>(py::module& m) {
|
||||
|
||||
//
|
||||
// Dynamic Entry RUNPATH object
|
||||
//
|
||||
py::class_<DynamicEntryRunPath, DynamicEntry>(m, "DynamicEntryRunPath")
|
||||
py::class_<DynamicEntryRunPath, DynamicEntry>(m, "DynamicEntryRunPath",
|
||||
R"delim(
|
||||
Class that represents a ``DT_RUNPATH`` wich is used by the loader
|
||||
to resolve libraries (:class:`~lief.ELF.DynamicEntryLibrary`).
|
||||
)delim")
|
||||
|
||||
.def(py::init<const std::string &>(),
|
||||
"Constructor from (run)path",
|
||||
"Constructor from a (run)path",
|
||||
"path"_a = "")
|
||||
|
||||
.def(py::init<const std::vector<std::string> &>(),
|
||||
|
||||
Reference in New Issue
Block a user