Commit Graph

32 Commits

Author SHA1 Message Date
Cristian Le 0e72c53729 Include GNUInstallDirs unconditionally 2025-05-06 07:34:08 +02:00
Romain Thomas c000b17be0 Enhance PE parser/builder
close #1021
close #1118
close #192
close #276
close #358
close #642
close #746
close #777
resolve #1043
resolve #109
resolve #114
resolve #1167
resolve #124
resolve #137
resolve #140
resolve #277
resolve #472
resolve #473
resolve #517
resolve #523
resolve #528
resolve #530
resolve #546
resolve #69
resolve #876
2025-02-15 05:33:25 +01:00
Romain Thomas e46074212d Re-scope Mach-O enums 2024-05-09 06:02:00 +02:00
Romain Thomas 9c5c513dd5 Fix heap-buffer-overflow as described in issue #1049 2024-04-28 16:52:24 +02:00
Romain Thomas 307e113f8e Resolve #1038 2024-03-30 07:14:40 +01:00
Romain Thomas cddd8dd076 Rename the static_symbol API into symtab_symbol 2024-02-03 06:31:30 +01:00
Romain Thomas 7a62df9b58 Re-scope ELF enums 2024-01-28 22:54:25 +01:00
Romain Thomas 78006bc772 New build backend based on scikit-build-core 2023-11-04 04:06:51 +01:00
Romain Thomas d34d20c198 Refactor and clean LIEF::PE::Header 2023-07-27 18:33:09 +02:00
Romain Thomas 22a6ffa0bd Refactor and clean LIEF::PE::OptionHeader 2023-07-27 18:30:11 +02:00
Romain Thomas 1781ba0f61 Clean DosHeader interface 2023-07-27 18:23:43 +02:00
Romain Thomas 656c6b4fdd Fix warning 2023-03-25 07:19:39 +01:00
Romain Thomas 1149e81c2b Merge pull request #849 from mrexodia/msvc-runtime
Fix MSVC runtime selection
2023-01-03 09:20:42 +00:00
Duncan Ogilvie bbdc62f691 Fix MSVC runtime selection 2023-01-02 17:30:42 +01:00
Romain Thomas a12a522410 Backport check from #846 2022-12-17 13:22:17 +01:00
Romain Thomas eac0bd7141 Backport check from liyansong2018 (#845 / #846) 2022-12-17 11:19:38 +01:00
liyansong2018 b42b5e68be Check ELF section 2022-12-09 22:12:54 -05:00
liyansong2018 0d21ae733e Avoid null pointer in c-api 2022-12-07 04:25:43 -05:00
Romain Thomas f4fc5784af Enhance CI & platforms 2021-01-03 17:52:44 +01:00
rthomas 19e06755e8 Fix 449 2020-08-27 11:14:32 +02:00
Adrien Guinet 89d4de54c8 Fix git tag commmand to always work
Forward CRT on other targets
2018-08-29 13:38:27 +02:00
Adrien Guinet 4b03ac45e0 Remove LIEF_SHARED_LIB from cmake
Moreover, add macros to force the CRT usage when using MSVC.
This is based on the LLVM one.
2018-08-29 08:50:56 +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 d26fdb41ec Use /MTd when Debug build
Fix: #147
2018-03-09 08:29:31 +01:00
Romain Thomas fe6168d319 Add PE Import and ImportEntry in the C API
API Changes (C / PE):

  * Pe_Import_t      - Added
  * Pe_ImportEntry_t - Added
2017-09-24 11:27:37 +02:00
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 629d9aa090 Add C API for ELF's DynamicEntryFlags 2017-08-01 15:47:05 +02:00
Romain Thomas d96971b0c3 Rename 'sizeof_section_header' to 'section_header_size' (ELF's header)
API changes:
  [C]      Elf_Header_t.sizeof_section_header -> Elf_Header_t.section_header_size
  [C++]    LIEF::ELF::Header::sizeof_section_header -> LIEF::ELF::Header::section_header_size
  [Python] lief.ELF.sizeof_section_header -> lief.ELF.section_header_size

Resolve #62
2017-07-24 07:44:11 +02:00
Romain Thomas 6dd8b10325 Provide 'FindLIEF.cmake' to be easily integrated with CMake
* Now examples are provided in packages (SDK)
  * Add an examples in the doc to use 'find_packges()' with LIEF
2017-07-19 15:46:37 +02:00
Romain Thomas 8c00dd25eb Add is_exported/is_imported functions in the C API
API changes (C):
  Elf_Symbol_t.{is_exported, is_imported} - Added
2017-07-18 11:04:05 +02:00
Romain Thomas d75fd098b9 Enclose paths within quotes (fix #9) 2017-04-05 15:33:18 +02:00
Romain Thomas 306a191a03 First public release 2017-03-30 16:56:49 +02:00