Romain Thomas
7412a4c50c
Add API to get a section from a segment & section names
2022-04-04 06:24:37 +02:00
Romain Thomas
3816cccd95
Improve Mach-O relocations parser
2022-02-16 22:42:03 +01:00
Romain Thomas
50986fcaf1
Use a span interface
2022-02-13 10:39:38 +01:00
Romain Thomas
77328b0071
Bump year
2022-02-08 21:16:25 +01:00
Romain Thomas
e9782c5927
Clean & modernize LIEF code base
...
This commit (obviously non-atomic) cleans LIEF's code base by:
- Using pointer semantics (`std::unique_ptr<>`)
- Using LEAF boost error in the binary stream
- Reducing the scope of the iterators (`it_section`, ...)
- Removing `Structures.hpp` from the public headers
- etc
2022-02-05 06:09:06 +01:00
rthomas
a615adbee4
This commit cleans and modernizes the code base of LIEF.
...
Among the changes:
- It removes the ``and, or, not`` keywords
- It updates the Documentation
- It moves the internal structures in the ``details::`` namespace
2022-01-27 20:18:54 +01:00
Romain Thomas
56f503ade0
Add an 'index' field for segment commands.
...
This new field aims to optimize the reconstruction of binding/rebase
opcodes.
2021-02-26 15:52:37 +01:00
Romain Thomas
6720ed2385
Update copyright
2021-01-16 18:17:17 +01:00
Romain Thomas
406115c8d0
Enhance Mach-O modification
...
* Add load command
* Add sections
* Add segments
Resolve #46 (partially)
2018-06-27 14:44:42 +02:00
Romain Thomas
33a2af4b18
Enhance Python binding
2018-06-08 14:58:00 +02:00
Romain Thomas
3b17aba10e
Refactor some parts of the Architecture:
...
* JSON visitor are located in the format namespace
* Visitor are *real* visitor
* Visitable class has been renamed to Object
* Due to a bug in Visual Studio 2015, we move to VS2017
2018-03-13 16:49:02 +01:00
Romain Thomas
8ecaab0a7c
Resolve #88
2017-09-07 22:23:57 +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
8c7ceafa82
Handle encoding errors ( resolve #59 )
2017-07-15 15:10:47 +02:00
Romain Thomas
c44a975913
Enhance 'macho_reader.py'
2017-06-23 21:37:23 +02:00
Romain Thomas
306a191a03
First public release
2017-03-30 16:56:49 +02:00