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:
rthomas
2022-01-27 18:50:12 +01:00
committed by Romain Thomas
parent 540049d0d9
commit a615adbee4
625 changed files with 15701 additions and 15535 deletions
+5 -2
View File
@@ -29,12 +29,15 @@ using setter_t = void (Relocation::*)(T);
template<>
void create<Relocation>(py::module& m) {
py::class_<Relocation, Object>(m, "Relocation")
py::class_<Relocation, Object>(m, "Relocation",
R"delim(
Class which represents an abstracted Relocation
)delim")
.def(py::init(),
"Default constructor")
.def(py::init<uint64_t, uint8_t>(),
"Constructor from :attr:`~lief.Relocation.address` and :attr:`~lief.Relocation.size`",
"Constructor from an :attr:`~lief.Relocation.address` and a :attr:`~lief.Relocation.size`",
"address"_a, "size"_a)
.def_property("address",