mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
Parse Mach-O relocations and add MachO API to retrieve section from name
API Update: lief.MachO.Section.relocations - to access to the relocations lief.MachO.binary.get_section - Get section from name lief.MachO.binary.has_section -Check if section with given name exists Resolve #57
This commit is contained in:
@@ -61,6 +61,7 @@ void init_LIEF_iterators(py::module& m) {
|
||||
// MachO
|
||||
// =====
|
||||
#if defined(LIEF_MACHO_MODULE)
|
||||
init_ref_iterator<LIEF::MachO::it_relocations>(m);
|
||||
init_ref_iterator<LIEF::MachO::it_commands>(m);
|
||||
init_ref_iterator<LIEF::MachO::it_symbols>(m);
|
||||
init_ref_iterator<LIEF::filter_iterator<LIEF::MachO::symbols_t>>(m);
|
||||
|
||||
Reference in New Issue
Block a user