Commit graph

38 commits

Author SHA1 Message Date
Christophe Grenier
6ae85c0094 src/file_mp3.c: improve Frama-C annotations 2021-07-02 19:04:05 +02:00
Christophe Grenier
328e7ea31a PhotoRec: check that file_check!=NULL before calling header_ignored() 2021-04-10 11:33:23 +02:00
Christophe Grenier
c417e742d6 src/file_mp3.c: fix some frama-c warnings 2021-02-07 10:21:39 +01:00
Christophe Grenier
8f3380a7e1 PhotoRec: try to find ID3 header appended to mp3 2020-09-30 17:30:18 +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
9f4bb675a6 PhotoRec: src/file_gz.c, src/file_mp3.c: header_ignored_adv() must be called only
once all checks have been done.
2020-01-26 16:39:03 +01:00
Christophe Grenier
4df871bf15 PhotoRec: add a few frama-c annotations, mostly in header_check functions 2020-01-18 10:40:59 +01:00
Christophe Grenier
00539e593c src/file_mp3.c: additional frama-c annotations 2020-01-01 10:59:10 +01:00
Christophe Grenier
26c361bac0 Drop "-wp-depth" from Makefile.am as it has been removed in frama-c 20.0
Update annotations for frama-c 20.0
2019-12-12 19:21:56 +01:00
Christophe Grenier
70089760f4 src/file_mp3.c: move some functions, additionnal frama-c annotations 2019-12-07 20:28:33 +01:00
Christophe Grenier
87ff1ddb86 Do not call utime() when using frama-c, fix some minor warnings. 2019-11-01 10:56:57 +01:00
Christophe Grenier
672e4ff620 Fix the remaining problems reported by "make frama-c-mp3" and "make frama-c-id3" 2019-10-19 10:21:07 +02:00
Christophe Grenier
5e48555814 PhotoRec: add frama-c tests for mp3 and id3 2019-09-21 10:08:14 +02:00
Christophe Grenier
fe2059efa9 PhotoRec: fix bound check when parsing exe, fits, jpg, mp3, riff, zip 2018-02-18 09:58:02 +01: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
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
e1ca401030 remove always-true memcmp 2015-05-11 09:25:39 +02:00
Christophe Grenier
f83141b780 PhotoRec: remove useless file_recovery NULL check 2014-10-05 21:10:05 +02:00
Christophe Grenier
71133cd986 PhotoRec: disable data check of .mp3 files for small blocksize 2014-07-26 18:44:42 +02:00
Christophe Grenier
7aaa9b6bfa Revert part of commit a23c1b5a88 2014-04-02 08:34:07 +02:00
Christophe Grenier
a23c1b5a88 PhotoRec: better check to avoid to concat mp3 files 2014-03-30 19:31:33 +02:00
Christophe Grenier
555c5ebaa4 PhotoRec: avoid false positive between mp3 header and tiff data 2014-03-11 21:46:00 +01: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
65dbe3d4ba constify more variables 2013-06-01 18:06:35 +02:00
Christophe Grenier
5febf50aca PhotoRec: modify mp3 signature - reduce the number of time where header_check_mp3 is called 2013-04-11 18:44:51 +02:00
Christophe Grenier
929185ddb4 PhotoRec: src/file_mp3.c code reorganisation 2013-03-23 15:10:13 +01:00
Christophe Grenier
c64a4ce051 PhotoRec: fix mp3 recovery when blocksize=1 2013-03-10 16:13:20 +01:00
Christophe Grenier
e552f8c2dd PhotoRec: mp3 recovery - code cleanup 2010-05-21 09:01:44 +02:00
Christophe Grenier
5156d5b462 Code cleanup 2009-10-25 18:26:16 +01:00
Christophe Grenier
d04321d68a PhotoRec: identified some constants as is 2009-01-22 19:06:11 +01:00
Christophe Grenier
dbba3af27b Fix for C++ compilation 2009-01-04 20:30:12 +01:00
Christophe Grenier
86ca5ef632 PhotoRec: declare as const some variables in file_mp3.c 2008-11-13 09:13:28 +01:00
Christophe Grenier
721e07c84d PhotoRec: fix out of bound read access 2008-06-10 12:54:11 +02:00
Christophe Grenier
86d7021cbc More robust mp3 detection 2008-05-27 00:17:46 +02:00
Christophe Grenier
10b6712c62 PhotoRec: in FileOpts, press 's' to deselect all files or reset to default settings 2008-02-27 20:35:42 +01:00
Christophe Grenier
bda51eefe0 Remove header_check from struct file_hint_struct
Add Microsoft Visual Studio Resource file .res support
2007-12-23 14:54:58 +01:00
Christophe Grenier
9928d99936 First version in git 2007-10-29 22:38:52 +01:00