Uniform API name for sections and segments.

ELF:
  - segment.data has been renamed to segment.content
This commit is contained in:
Romain Thomas
2017-04-16 10:21:23 +02:00
parent ab9c7d7e86
commit 3ffbb53850
10 changed files with 16 additions and 21 deletions
-5
View File
@@ -63,11 +63,6 @@ void init_PE_Section_class(py::module& m) {
.def("has_characteristic",
&Section::has_characteristic)
.def_property("data",
static_cast<getter_t<std::vector<uint8_t>>>(&Section::content),
static_cast<setter_t<const std::vector<uint8_t>&>>(&Section::content))
.def("__eq__", &Section::operator==)
.def("__ne__", &Section::operator!=)
.def("__hash__",