Commit graph

21 commits

Author SHA1 Message Date
Christophe Grenier
029adb2224 src/file_par2.c: fix Frama-C warnings 2021-07-04 16:40:25 +02:00
Christophe Grenier
717ce7122f src/file_par2.c: fix problems reported by frama-c 2021-02-27 10:21:39 +01:00
Christophe Grenier
bfcaec55c4 src/file_par2.c: better filesize check 2020-10-10 10:14:32 +02:00
Christophe Grenier
79e2b889da PhotoRec: add an ifdef in each file for easier frama-c testing 2020-09-11 12:58:00 +02:00
Christophe Grenier
20b02dd164 PhotoRec: for some file formats, check if file is complete when a new file is found 2016-09-30 16:31:09 +02:00
Christophe Grenier
5d18a4828b Fallback to fseek() if fseeko() failed 2015-09-25 20:32:08 +02:00
Christophe Grenier
0055796174 PhotoRec: reduce the number of backward search 2015-09-03 08:04:04 +02:00
Christophe Grenier
35ddcde355 PhotoRec: Remove min_header_distance from file_hint_t structure (code cleanup) 2015-06-13 11:58:44 +02:00
Christophe Grenier
04d6531144 PhotoRec: log the correct filename if file has been renamed 2015-06-12 19:49:50 +02:00
Christophe Grenier
e1ca401030 remove always-true memcmp 2015-05-11 09:25:39 +02:00
Christophe Grenier
a58ebc0ee0 PhotoRec: set a minimum size for .par2 files 2015-04-16 08:22:37 +02:00
Christophe Grenier
6705437287 add gcc_struct attribute to all __packed__ structure
do not use fseeko() with mingw32 gcc compiler
2015-04-11 14:23:16 +02:00
Christophe Grenier
5ed8822f2b Turn off various signed/unsigned comparaison warnings 2014-11-15 12:29:48 +01:00
Christophe Grenier
f83141b780 PhotoRec: remove useless file_recovery NULL check 2014-10-05 21:10:05 +02:00
Christophe Grenier
c289500329 Use fseeko() instead of fseek().
Fix 2GB per file limit on Windows for some file types.
2014-10-04 18:09:48 +02:00
Christophe Grenier
69e5dde9c0 PhotoRec: stricter check for .par2 2014-08-13 08:33:14 +02:00
Christophe Grenier
76758703fc PhotoRec: disable data check of .par2 files for small blocksiz 2014-07-26 19:15:49 +02:00
Christophe Grenier
3213247d99 PhotoRec: use an enum for values returned by data_check()
rename .m2ts and .ts using pid from header
2013-12-14 21:40:04 +01:00
Christophe Grenier
9727615b01 src/file_par2.c: fix compilation warning 2013-03-23 19:22:41 +01:00
Christophe Grenier
ce46b7142b Fix header_check_par2() function 2013-01-19 11:38:25 +01:00
Christophe Grenier
6f1ec44b8d PhotoRec: recover .par2 parchive 2011-06-17 08:26:47 +02:00