1008 Commits

Author SHA1 Message Date
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
Koh M. Nakagawa
4ccac0389d fix to avoid SIGSEGV while parsing the file that has a empty group icon 2020-05-21 22:12:01 +09:00
Koh M. Nakagawa
a1521128e1 fix to handle exceptions in json_dump of ResourcesManager 2020-05-21 13:02:36 +09:00
rthomas
3cee05646c Fix typo 2020-05-20 16:30:38 +02:00
Romain
2ed4dd0157
Merge pull request #417 from kohnakagawa/fix/empty_fixed_file_version_entry
Fix to parse PE files that have empty fixed_file_version entry
2020-05-20 16:27:23 +02:00
Koh M. Nakagawa
2166c91773 fix to parse empty fixed_file_version entry 2020-05-20 16:46:11 +09:00
rthomas
b99e791be6 Prefer unordered_map 2020-05-11 09:44:54 +02:00
rthomas
6fd553114d Update references 2020-05-11 09:33:03 +02:00
rthomas
8671cc0a97 Fix changelog 2020-05-11 09:25:03 +02:00
Romain
cf2f92fc65
Merge pull request #408 from kohnakagawa/fix/debug_type
add IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS
2020-05-11 09:18:09 +02:00
Koh M. Nakagawa
cd05f34bae add IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS 2020-05-11 09:16:59 +02:00
Romain
e4a3659297
Merge pull request #407 from kohnakagawa/fix/add_json_records
Fix to show some missing JSON records
2020-05-11 08:55:36 +02:00
Koh M. Nakagawa
541c38c9e8 add some json records 2020-05-11 08:53:38 +02:00
Romain
b023698df8
Merge pull request #409 from benjamb/bundle-license
Add LICENSE to MANIFEST.in
2020-05-11 08:51:23 +02:00
Ben Brown
37f38b3a42 Add LICENSE to MANIFEST.in 2020-05-06 10:29:40 +01:00
Romain
84ffe2d478
Merge pull request #405 from kohnakagawa/fix/reloc_base_types
add missing RELOCATIONS_BASE_TYPES
2020-05-03 20:18:24 +02:00
rthomas
a04eb8888a Enhancement 2020-05-03 11:15:36 +02:00
Koh M. Nakagawa
c03125045e add missing RELOCATIONS_BASE_TYPES 2020-05-03 11:15:36 +02:00
rthomas
798950d874 Fix memcpy 2020-05-03 11:14:07 +02:00
rthomas
c0d028b4eb Fix symbol size 2020-05-03 10:51:52 +02:00
rthomas
9b2420d2e4 Fix uninitialized variable 2020-05-02 11:51:23 +02:00
Romain
9a64ced220
Merge pull request #406 from kohnakagawa/fix/machine_type_enum
fix machine type enum
2020-05-01 19:29:20 +02:00