mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
Fix memory leaks in the MachO Python API and create FatBinary
API Changes: LIEF::MachO::Parser won't return a 'std::vector' of MachO::Binary* but a pointer to MachO::FatBinary object It's a kind of wrapper on std::vector<MachO::Binary*>
This commit is contained in:
@@ -63,6 +63,7 @@ void init_LIEF_iterators(py::module& m) {
|
||||
// MachO
|
||||
// =====
|
||||
#if defined(LIEF_MACHO_MODULE)
|
||||
init_ref_iterator<LIEF::MachO::it_binaries>(m);
|
||||
init_ref_iterator<LIEF::MachO::it_relocations>(m);
|
||||
init_ref_iterator<LIEF::MachO::it_commands>(m);
|
||||
init_ref_iterator<LIEF::MachO::it_symbols>(m);
|
||||
|
||||
Reference in New Issue
Block a user