rthomas
013a3861c0
Setup cmake configuration as RelWithDebInfo when building in debug mode
2020-09-26 11:17:03 +02:00
rthomas
61e93d71f2
Add missing enum string
2020-09-25 20:13:13 +02:00
rthomas
e0457bd779
Add DF_1_PIE
2020-09-25 16:47:41 +02:00
rthomas
081ec5c0e9
Add DF_1_PIE enum
2020-09-23 13:33:42 +02:00
Romain
c31e7b4c3b
Merge pull request #459 from kohnakagawa/fix/msvc_warning
...
Fix C4146 error when building LIEF with MSVC
2020-09-01 12:56:08 +02:00
Koh M. Nakagawa
32ad568691
Fix to remove C4146 errors
2020-08-31 16:54:22 +09:00
Romain
f955a6bc0c
Merge pull request #458 from metaverse-systems/fix-include-dir-pkgconfig
...
Fixes incorrect include directory in pkgconfig file.
2020-08-28 09:27:38 +02:00
Tim Schwartz
390d140fed
Fixes incorrect include directory in pkgconfig file.
2020-08-27 15:34:54 -05:00
rthomas
19e06755e8
Fix 449
2020-08-27 11:14:32 +02:00
rthomas
5f26216f90
Resolve #455
2020-08-27 09:59:59 +02:00
Romain
4881c6f5c4
Merge pull request #456 from metaverse-systems/add-pkgconfig-file
...
Generates LIEF.pc and installs in /lib/pkgconfig/
2020-08-27 09:27:16 +02:00
Tim Schwartz
5fed2461a9
Generates LIEF.pc and installs in /lib/pkgconfig/
2020-08-26 08:16:21 -05:00
Romain
4db8cf8b30
Merge pull request #453 from benjamb/benbrown/fix-404
...
Fix module entry point declaration (fixes #404 )
2020-08-25 15:44:36 +02:00
rthomas
9f1bebb0ff
Fix UTF8 (by @tacesrever)
2020-08-25 11:20:16 +02:00
rthomas
2348eb4d82
Fix missing undef (by @tacesrever)
2020-08-25 11:20:07 +02:00
rthomas
6e5a4937d4
Fix win32 build option (by @tacesrever)
2020-08-25 11:19:08 +02:00
Ben Brown
cbad2be774
Re-enable the Windows python 3.8 build
2020-08-24 22:14:31 +01:00
Ben Brown
5e9053988f
Fix module entry point declaration
...
Explicit definition of a py::module was only required when using the
deprecated PYBIND11_PLUGIN macro; remove this as the second argument of
the PYBIND11_MODULE macro will define the variable.
Set the docstring as appropriate.
Fixes #404 .
2020-08-24 22:14:26 +01:00
Romain
a81ee63e11
Merge pull request #445 from kohnakagawa/fix/escape_all_strings
...
Update mbedtls version to fix #395 .
2020-08-24 08:01:46 +02:00
rthomas
672c539e73
Use mbedtls github version
2020-08-24 07:24:14 +02:00
Romain
346574132c
Merge pull request #443 from kohnakagawa/feature/parse_resource_accelerators
...
Add parser for resource accelerator
2020-08-24 07:18:44 +02:00
Koh M. Nakagawa
1fd42b4ebf
Add parser for resource accelerator
...
Signed-off-by: Koh M. Nakagawa <tsunekou1019@gmail.com>
2020-08-24 07:15:04 +02:00
Romain
10f0a2857f
Merge pull request #444 from kohnakagawa/feature/parse_resource_html
...
Fix to parse html resource
2020-08-24 07:09:21 +02:00
Romain
6ae4915127
Merge pull request #448 from intelligide/patch-1
...
Fix for VS 2015
2020-08-24 07:05:36 +02:00
Yoann Potinet
e287ad9447
FIx for VS 2015
2020-08-01 21:58:39 -04:00
Koh M. Nakagawa
653f8a1c35
Update mbedtls version to fix #395 . Additionaly, escaping non-ascii strings to avoid crash of lief.to_json
...
Signed-off-by: Koh M. Nakagawa <tsunekou1019@gmail.com>
2020-07-23 14:54:31 +09:00
Koh M. Nakagawa
eb87ca6ef6
fix to parse html resource
...
Signed-off-by: Koh M. Nakagawa <tsunekou1019@gmail.com>
2020-07-06 22:01:47 +09:00
Romain
4bbe410333
Merge pull request #433 from Wind3x/patch-1
...
Fix has_exceptions to check exception table
2020-07-05 12:22:56 +02:00
Romain
20f9d04ae8
Merge pull request #432 from kohnakagawa/feature/parse_resource_string
...
fix ResourcesManager to parse string table entry
2020-07-05 12:22:18 +02:00
Wind3x
04c18f851e
Fix has_exceptions to check exception table
...
Change has_exceptions to check the exception table instead of the export table.
2020-06-25 13:24:46 -07:00
Koh M. Nakagawa
96e6fc66ad
fix ResourcesManager to parse string table entry
...
Signed-off-by: Koh M. Nakagawa <tsunekou1019@gmail.com>
2020-06-26 01:18:58 +09:00
Romain
ddc8b72e6b
Merge pull request #426 from kohnakagawa/fix/segfault_gil_release
...
improve #400
2020-06-06 06:43:35 +02:00
Koh M. Nakagawa
1a7f8c41eb
fix to avoid SIGSEGV
2020-06-01 22:34:31 +09:00
Romain
a69f4b0867
Merge pull request #424 from kohnakagawa/fix/wrong_reloc_enum
...
fix wrong EnumToString
2020-05-28 06:30:41 +02:00
Koh M. Nakagawa
38f48a6e12
fix wrong EnumToString
2020-05-28 06:26:29 +02:00
Romain
2faa591440
Merge pull request #423 from kohnakagawa/fix/parse_corrupted_version_resources
...
fix to handle exceptions in json_dump of ResourcesManager
2020-05-28 06:23:40 +02:00
Romain
caa767f26f
Merge pull request #422 from kohnakagawa/fix/add_symbols_record_in_to_json
...
add some missing records in json dump
2020-05-28 06:21:51 +02:00
Romain
e6c7e2af9e
Merge pull request #421 from kohnakagawa/fix/parse_corrupted_symbols
...
add stream buffer size limit
2020-05-28 06:21:15 +02:00
Romain
565593dade
Merge pull request #420 from kohnakagawa/fix/handle_empty_dialog
...
fix to parse the files that have empty dialogs and langs
2020-05-28 06:20:42 +02:00
Romain
67f04bfd38
Merge pull request #419 from kohnakagawa/fix/handle_empty_group_icon
...
fix to avoid SIGSEGV while parsing the file that has an empty group icon
2020-05-28 06:20:05 +02:00
Koh M. Nakagawa
c38f3fc7dd
fix to handle empty dialog
2020-05-28 10:23:10 +09:00
Koh M. Nakagawa
2e2818c837
add symbols record in to_json
2020-05-27 00:17:51 +09:00
Koh M. Nakagawa
f1aa89f435
add stream buffer size limit
2020-05-26 23:58:00 +09:00
rthomas
ee45d512d8
Disable circle-ci
2020-05-24 06:49:10 +02:00
rthomas
e0656480cf
Update changelog
2020-05-24 06:47:15 +02:00
rthomas
5684960317
Update dependencies
2020-05-24 06:47:15 +02:00
rthomas
da371b3780
Fix const-ness
2020-05-23 20:46:35 +02:00
Romain
26ae54a175
Merge pull request #413 from JanuszL/optimization
...
This PR introduces several performance optimizations for the binary write/build process
2020-05-22 10:14:10 +02:00
Janusz Lisiecki
1e0c4e81d4
This PR introduces several performance optimizations for the binary write/build process
...
- it changes the way how the number of symbols is reduced and how offsets to names are calculated.
Instead of n^2 algorithms, it introduces nlog(n) algorithm.
When the symbols optimization step is performed map<symbol_name, offset_to_name>
is created so it saves another n^2 pass
- a couple of performance improvements to filter_iterator - from pre to post incrementation
to save an unneeded copy, memoization of end iterator as the compiler cannot do it on its own
and recreates it every loop iteration, simplified construction of the end iterator
on the test binary that has a couple of hundreds of MB, it reduces the execution time of
elf_add_section example form 20 minutes to a couple of seconds
- adds an ability to modify single value inplace in the sectiton to save coying it just to do that
- the reason behind this patch is to use LIEF as a patchelf replacement so the performance
is one of the factors
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
2020-05-22 02:29:59 +02:00
rthomas
a2a1ce6fe3
Fix #412
2020-05-21 18:38:30 +02:00