Commit graph

2590 commits

Author SHA1 Message Date
Christophe Grenier
96ecc02a96 src/file_mkv.c: rewrite mkv parser 2020-10-25 16:23:47 +01:00
Christophe Grenier
c8d6f3ad89 src/file_xm.c: fix frama-c warnings 2020-10-24 09:12:29 +02:00
Christophe Grenier
4e049cfcb7 src/file_xfs.c: fix Frama-c warnings 2020-10-24 09:11:46 +02:00
Christophe Grenier
9bc5eb332a src/file_xar.c: recover xar archive using sha512 to checksum data 2020-10-24 09:09:34 +02:00
Christophe Grenier
fc1823a49e src/file_x4a.c: add frama-c annotations 2020-10-24 09:08:37 +02:00
Christophe Grenier
0d037ed2ad src/file_vmdk.c: stricter header check 2020-10-24 09:06:27 +02:00
Christophe Grenier
9c3096c847 src/file_ttf.c: Fix frama-c warnings 2020-10-24 09:05:07 +02:00
Christophe Grenier
73ebc243b1 src/file_gif.c: hide frama-c warning 2020-10-24 09:00:27 +02:00
Christophe Grenier
2d125753bd file_allow_nl(): add assigns frama-c annotation 2020-10-24 08:57:47 +02:00
Christophe Grenier
ebb342ab28 src/file_tib.c: fix frama-c warnings in file_check_tib2() 2020-10-18 08:19:43 +02:00
Christophe Grenier
6f490ea9fa PhotoRec: fix tar recovery
Probably broken since commit 0dd2adf2da
2020-10-17 14:46:55 +02:00
Christophe Grenier
b966e6cabd update win/readme.txt: TestDisk & PhotoRec archive with binaries for Windows doesn't run on unsupported Windows version. 2020-10-17 14:44:10 +02:00
Christophe Grenier
41921f9763 Fix "make fram-c-fidentify-swf" 2020-10-12 17:46:05 +02:00
Christophe Grenier
2cc3880ced src/file_sp3.c: hide frama-c warning 2020-10-12 17:45:54 +02:00
Christophe Grenier
619b831b51 src/file_spf.c: fix frama-c warnings 2020-10-12 17:40:49 +02:00
Christophe Grenier
2ee22935e7 src/file_stl.c: fix filesize 2020-10-12 17:39:32 +02:00
Christophe Grenier
34fb96c439 src/file_jpg.c: prevent thumb file recovered instead of the whole
picture instead in the first 16k (previously first 4k)
2020-10-11 16:38:03 +02:00
Christophe Grenier
64d83ba69b src/file_jpg.c: some jpg were originally using Multiple-Picture Format (MPF). When edited by a picture editor, a single JPG may remain with the original MPF information listing several pictures. In this case, limit the jpg to the first jpg. 2020-10-11 12:44:18 +02:00
Christophe Grenier
8fee13afa5 src/jfs.c: prevent a potential overflow when calculating the partition
size.
2020-10-11 11:04:50 +02:00
Christophe Grenier
59887b9bda src/file_doc.c: identify more Thumbs.db files 2020-10-11 11:03:49 +02:00
Christophe Grenier
895c3d2606 src/file_asf.c: header check was too strong and rejecting valid files. 2020-10-11 11:02:53 +02:00
Christophe Grenier
13cb4c5048 Fix "make frama-c-fidentify-rw2" 2020-10-11 11:02:09 +02:00
Christophe Grenier
7640708ca8 Add an header guard to prevent multiple inclusion 2020-10-11 11:01:27 +02:00
Christophe Grenier
3200bd035a src/file_pdb.c: fix Frama-C warning 2020-10-10 10:15:39 +02:00
Christophe Grenier
bfcaec55c4 src/file_par2.c: better filesize check 2020-10-10 10:14:32 +02:00
Christophe Grenier
cadf9ad06b src/file_oci.c: better filesize check 2020-10-10 10:14:01 +02:00
Christophe Grenier
370d333d78 src/file_mysql.c: add Frama-C annotations 2020-10-10 10:13:00 +02:00
Christophe Grenier
b76b34fd53 src/file_msa.c: add a filesize check 2020-10-10 10:12:16 +02:00
Christophe Grenier
ac2491463f src/file_mpg.c: move frama-c annotation at the header definition 2020-10-10 10:11:18 +02:00
Christophe Grenier
f08ce6e528 src/file_pdf.c: add Frama-C annotations 2020-10-09 19:07:29 +02:00
Christophe Grenier
6388c2ffca src/file_vdi.c: better check filesize 2020-10-04 18:58:10 +02:00
Christophe Grenier
b775d67b55 Add an header guard to prevent multiple inclusion, some files were forgotten in previous commit. 2020-10-04 12:12:23 +02:00
Christophe Grenier
25c8dba564 Add an header guard to prevent multiple inclusion 2020-10-04 10:30:20 +02:00
Christophe Grenier
fb96d07f8c src/file_nk2.c: add frama-c annotations 2020-10-03 10:27:41 +02:00
Christophe Grenier
be80b162a7 src/file_mpg.c: add frama-c annotations 2020-10-01 18:48:14 +02:00
Christophe Grenier
2ac4c3a15b src/file_mov.c: add some frama-c annotations for data_check_mov 2020-10-01 18:44:41 +02:00
Christophe Grenier
8f3380a7e1 PhotoRec: try to find ID3 header appended to mp3 2020-09-30 17:30:18 +02:00
Christophe Grenier
9a51cb47de src/file_lxo.c: avoid a potential integer overflow 2020-09-19 10:53:05 +02:00
Christophe Grenier
b345af5c80 src/file_lnk.c: better check filesize 2020-09-19 10:42:09 +02:00
Christophe Grenier
cec850223e PhotoRec: rewrote the size tests to be more readable 2020-09-14 18:38:12 +02:00
Christophe Grenier
f236b8cc4d src/file_indd.c: fix warnings reported by frama-c 2020-09-14 18:37:51 +02:00
Christophe Grenier
a60c71823e PhotoRec - src/file_icns.c: better check 2020-09-14 18:37:11 +02:00
Christophe Grenier
9710d356fe src/file_ibd.c: fix warning reported by gcc 2020-09-14 18:36:20 +02:00
Christophe Grenier
02d307b901 src/file_hdf.c: fix warnings reported by frama-c 2020-09-14 18:35:51 +02:00
Christophe Grenier
5cf21cf78f src/file_gif.c: fix some errors reported by frama-c 2020-09-14 18:34:17 +02:00
Christophe Grenier
7d42371fbe Fix commit 4ba942d12e 2020-09-14 18:33:16 +02:00
Christophe Grenier
8972b0caae PhotoRec: src/file_gi.c - Ignore header when recorded filesize is too large for a real file 2020-09-13 18:55:22 +02:00
Christophe Grenier
1e240053d7 PhotoRec: discard fm header when the recorded size is too large for a
real file
2020-09-13 16:24:01 +02:00
Christophe Grenier
b478a161ac PhotoRec: src/file_fcs.c - fix problems reported by frama-c 2020-09-13 15:35:44 +02:00
Christophe Grenier
57215f8856 PhotoRec: src/file_e01.c - set a valid name for files outside E01-Z99
range
2020-09-13 11:20:41 +02:00