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
@@ -26,7 +26,10 @@ using setter_t = void (Section::*)(T);
template<>
void create<Section>(py::module& m) {
py::class_<Section, Object>(m, "Section")
py::class_<Section, Object>(m, "Section",
R"delim(
Class which represents an abstracted section
)delim")
.def(py::init(),
"Default constructor")
@@ -49,7 +52,7 @@ void create<Section>(py::module& m) {
.def_property("offset",
static_cast<getter_t<uint64_t>>(&Section::offset),
static_cast<setter_t<uint64_t>>(&Section::offset),
"Section's offset")
"Section's file offset")
.def_property("virtual_address",
static_cast<getter_t<uint64_t>>(&Section::virtual_address),