Romain Thomas
66b4cd4550
Fix enums conflicts
...
Enums changes (C++/C):
ELF:
* s/SECTION_TYPES/ELF_SECTION_TYPES/
* s/SECTION_FLAGS/ELF_SECTION_FLAGS/
* s/SYMBOL_TYPES/ELF_SYMBOL_TYPES/
* s/SEGMENT_FLAGS/ELF_SEGMENT_FLAGS/
MachO:
* s/SECTION_TYPES/MACHO_SECTION_TYPES/
* s/SECTION_FLAGS/MACHO_SECTION_FLAGS/
* s/SYMBOL_TYPES/MACHO_SYMBOL_TYPES/
* s/SEGMENTS_FLAGS/MACHO_SEGMENTS_FLAGS/
PE:
* s/SECTION_TYPES/PE_SECTION_TYPES/
Resolve #32
2017-08-21 09:23:40 +02:00
Romain Thomas
782295bfb8
Parser Dyld Info in depth (binding, rebases, exports)
...
Binding and rebase bytes codes are now parsed as well as export info
trie. Through ``RelocationDyld`` we created kind of *virtual* relocation
to modeling relocation process performed by Dyld
API Changes (Python / C++)
* MachO::RelocationDyld - Added
* MachO::RelocationObject - Added
* MachO::Relocation - Updated according to previous ones
* MachO::ExportInfo - Added
* MachO::BindingInfo - Added
* MachO::DyldInfo::rebase_opcodes - Added
* MachO::DyldInfo::bindings - Added
* MachO::DyldInfo::bind_opcodes - Added
* MachO::DyldInfo::weak_bind_opcodes - Added
* MachO::DyldInfo::lazy_bind_opcodes - Added
* MachO::DyldInfo::exports - Added
* MachO::DyldInfo::export_trie - Added
* MachO::Symbol
- Tied to MachO::BindingInfo (if any)
- Tied to MachO::ExportInfo (if any)
* MachO::Binary::relocations - Added
* MachO::Binary::has_symbol - Added
* MachO::Binary::get_symbol - Added
Resolve : #67
2017-07-30 17:29:09 +02:00
Romain Thomas
29c8157ecc
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
2017-07-17 17:27:28 +02:00
Romain Thomas
744c24518c
Add the endianness in the abstraction layer ( resolve #29 )
2017-06-28 07:50:00 +02:00
Romain Thomas
306a191a03
First public release
2017-03-30 16:56:49 +02:00