Add VA range validation for all address fields in LoadConfiguration
that were previously unchecked. It validates that
each address falls within [imagebase, imagebase + virtual_size).
This commit implements the check_layout function for ELF binaries
similar to PE and Mach-O. This function aims to ensure that the
ELF binary is consistent according to various loader (e.g., Linux, Android)
* Add set_name to PE Import
* Add creation and adding of PE Section
* Add functions to change Section
* Add docs for adding a section through Rust
* minor refactoring
---------
Co-authored-by: Romain Thomas <me@romainthomas.fr>
* Add set_name to MachO Dylib
* Add rpaths to MachO Binary
* Add set_path to MachO RPath
* Add creation and adding of RPath
* Add remove_commands_by_type to MachO Binary
* Refactor LoadCommandTypes from_value to use From trait
* Add docs for new Rust bindings
* Fix code in documentation
* Some minor refactoring
---------
Co-authored-by: Romain Thomas <me@romainthomas.fr>
This commit introduces support for generating DWARF debug information
for binaries that LIEF cannot natively parse (e.g., raw firmware or unknown architectures).
Related to #1249
Updates the internal MbedTLS version from 3.6.4 to 4.0.0.
This major version introduces the TF-PSA-Crypto architecture,
requiring significant changes to the build system and internal API usage.
Added `src/mbedtls_wraps.h` to handle the internalization
of MbedTLS 4.0 structures. This file re-declares private contexts
(like `mbedtls_rsa_context`) and uses `-DMBEDTLS_DECLARE_PRIVATE_IDENTIFIERS`
to allow LIEF to inspect internal key parameters required for PE
signature verification.