mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
Add relocation in the Abstract layer
The abstracted attributes are: * Address: virtual address where the relocation occurs * Size: size in bits of the relocation See: LIEF::Relocation / lief.Relocation and abstract_reader Resolve: #53
This commit is contained in:
@@ -23,6 +23,7 @@ void init_LIEF_iterators(py::module& m) {
|
||||
// ========
|
||||
init_ref_iterator<LIEF::it_sections>(m);
|
||||
init_ref_iterator<LIEF::it_symbols>(m);
|
||||
init_ref_iterator<LIEF::it_relocations>(m);
|
||||
|
||||
// ELF
|
||||
// ===
|
||||
@@ -48,6 +49,7 @@ void init_LIEF_iterators(py::module& m) {
|
||||
init_ref_iterator<LIEF::PE::it_sections>(m);
|
||||
init_ref_iterator<LIEF::PE::it_data_directories>(m);
|
||||
init_ref_iterator<LIEF::PE::it_relocations>(m);
|
||||
init_ref_iterator<LIEF::PE::it_relocation_entries>(m);
|
||||
init_ref_iterator<LIEF::PE::it_imports>(m);
|
||||
init_ref_iterator<LIEF::PE::it_import_entries>(m);
|
||||
init_ref_iterator<LIEF::PE::it_export_entries>(m);
|
||||
|
||||
Reference in New Issue
Block a user