Commit graph

204 commits

Author SHA1 Message Date
pancake
bf63107f9a Fix uninitialized entry field for MZ bins (jman issue) 2016-08-08 10:45:32 +02:00
Jeffrey Crowell
73bddffbf0 /libr/bin/format/pe/pe.c fix off by one in strcpy 2016-07-01 00:57:38 -04:00
Anton Kochkov
33ec5b9865 Fix coverities
CID 1357120
CID 1357121
CID 1357112
CID 1357099
2016-06-30 22:11:09 +03:00
Álvaro Felipe Melchor
5a582d3a13 Fix oob in debug_info pe.c 2016-06-26 22:29:43 +02:00
pancake
badad8ffef Fix oobread in PE with 004e_00007fff4a3d9a9e_000000000b47b000.inp 2016-06-25 20:36:25 +02:00
Álvaro Felipe Melchor
d65889d15d add name to section when is empty 2016-06-22 23:51:33 +02:00
Álvaro Felipe Melchor
42e507ebfa comment out hackaround for huge number of sections 2016-06-22 23:51:31 +02:00
Álvaro Felipe Melchor
8e6b857cdf more work in PE loader 2016-06-22 23:51:27 +02:00
Álvaro Felipe Melchor
93105250ab Handle bad PE files 2016-06-19 00:19:03 +02:00
Álvaro Felipe Melchor
fa15260d21 some refactoring in pe format code (#5039) 2016-05-31 12:16:57 +02:00
Álvaro Felipe Melchor
e805d701db Fix #4649 2016-05-02 18:24:34 +02:00
pancake
910ec5d000 Fix conditional warning regression in format.pe 2016-04-11 13:14:35 +02:00
pancake
5ef2b3cc0f Fix many warnings 2016-04-11 12:22:15 +02:00
Álvaro Felipe Melchor
2f9229af43 fixed pe version info 2016-04-10 21:25:56 +02:00
Álvaro Felipe Melchor
8cd86c367e Fix oob read in pe 2016-04-10 18:43:32 +02:00
skuater
917bd004cc r_bin_per_import fixed for tiny files 2016-04-09 19:54:12 +02:00
Álvaro Felipe Melchor
8009d35f13 Fix #4576 - thx revskills 2016-04-09 17:07:20 +02:00
Adrien Garin
10de21de7e RBin: fix PE and ELF versioninfo
PE parser is now able to get the StringTable value even if the
wValueLength of the structure is incorrect.

Fix a regression with ELF versioninfo.
2016-03-18 18:35:05 +01:00
Álvaro Felipe Melchor
879e7f411f Fix build 2016-03-12 13:38:17 +01:00
Álvaro Felipe Melchor
bbd597228e Fix segfaults in pe checksum 2016-03-12 13:30:41 +01:00
Aneesh Dogra
5c3f5904ea Add a way to compare claimed CRC (in header) of PE files with the actual CRC. 2016-03-12 11:22:55 +01:00
Aneesh Dogra
0e3d4bf773 PE: Add support for parsing TLS and add TLS callback addresses to the list of entry points.
Only add the address if its valid.
2016-03-12 11:04:25 +01:00
Adr1
611c3d1752 RBin: Display File Version info 2016-03-04 01:15:56 +01:00
pancake
7a1993b057 Fix str_case regression 2016-03-03 11:45:04 +01:00
William Robinet
0c7cacc2dc Fix typos 2016-02-16 23:21:24 +01:00
Maijin
94c4b5de11 Fix issue with cached dll 2016-01-17 22:10:46 +01:00
Maijin
5b4745d7d2 Cached dll ordinals are now lowercase Fix #3962 2016-01-17 21:17:07 +01:00
DZ_ruyk
51ae0129c7 Fixed PE export functions address calculation 2015-12-24 16:04:59 +01:00
Dima Turchenkov
c086a74e8f additional checks for architectures to detect endianness 2015-12-08 17:29:36 +01:00
Dima Turchenkov
d21d19c450 strange delphi artifact in PE header causes this bug 2015-12-08 17:29:36 +01:00
pancake
a50d671b4e Drop some unnecessary warning messages 2015-11-17 13:30:02 +01:00
Álvaro Felipe Melchor
6a710d6119 Fix pe crash 9288a from revskills 2015-10-25 20:14:04 +01:00
Álvaro Felipe Melchor
40ba826074 Fix pe crash bf83856 by revskills 2015-10-24 23:39:39 +02:00
pancake
17c58bdb01 Fix bf8385 PE parser crash (thx @revskills) 2015-10-24 13:24:38 +02:00
pancake
5fece33093 RBin.PE: Error -> Warning 2015-10-21 15:59:17 +02:00
Álvaro Felipe Melchor
d4f45dd0df Fix oob in pe.c 2015-10-18 22:23:19 +02:00
pancake
6e40a70a9f Show warning when cannot find w32 ordinal module dbs 2015-10-14 22:27:27 +02:00
pancake
60b60aa50a Fix #3444 - Fix infinite loop in PE parser 2015-10-12 19:42:44 +02:00
pancake
ce1087999c Fix another infinite loop in PE #3369 2015-09-28 13:06:51 +02:00
pancake
06f159239a Fix mz crash reported by @jvoisin 2015-09-28 02:52:56 +02:00
pancake
ae2713e944 Fix PE regression 2015-09-23 15:23:36 +02:00
pancake
d1f3dc3e08 Some more fixes for exports and PE 2015-09-23 15:01:36 +02:00
pancake
49975ccf95 Fix #3286 - Use stdbool.h 2015-09-14 02:08:31 +02:00
jvoisin
9db340a0a8 Fix some malloc(A*B) overflow detected by clang-analyzer 2015-09-09 21:44:06 +02:00
jvoisin
dba909b1dd Fix yet-another-batch of clang-analyzer issues 2015-09-01 23:24:11 +02:00
pancake
a5655dff9b A bit dsojson leak just to avoid a crash 2015-09-01 18:44:37 +02:00
jvoisin
b270e92021 Refactor a bit bin_pe_parse_imports 2015-08-29 23:30:16 +02:00
jvoisin
4261075d60 Misc fixes to make clang-analyser even more happy 2015-08-29 18:08:38 +02:00
Maijin
6831dd2f6d Revert "More misc cleanup"
This reverts commit 788a3b02c7.

	modifié :         libr/bin/format/pe/pe.c
2015-08-28 20:58:21 +02:00
jvoisin
788a3b02c7 More misc cleanup 2015-08-28 19:13:27 +02:00