Commit graph

2716 commits

Author SHA1 Message Date
Christophe Grenier
5ab05b0da3 src/file_ab.c: fix frama-c warning in data_check_addressbook() 2021-01-29 18:08:54 +01:00
Christophe Grenier
51320a0415 src/file_abr.c: fix frama-c warning in data_check_abr() 2021-01-29 17:39:43 +01:00
Christophe Grenier
29dfb071f5 src/file_lnk.c: fix parser 2021-01-29 17:38:41 +01:00
Christophe Grenier
2346e44dfd copr: add make BuildRequires 2021-01-06 19:22:57 +01:00
Christophe Grenier
ba56bd42c2 PhotoRec: recover bbdoc files (zip archives) 2021-01-06 19:19:50 +01:00
Christophe Grenier
5cea6eb886 Disable some code sections for frama-c 2021-01-06 18:59:37 +01:00
Christophe Grenier
0889811958 PhotoRec: recover Doom .wad files 2021-01-06 18:52:23 +01:00
Christophe Grenier
d9919bf277 New prototype for ask_location() and td_getcwd() 2020-12-06 14:19:01 +01:00
Christophe Grenier
39535fa503 src/dirn.c: clear "Stop" message once files have been copied 2020-11-29 11:30:54 +01:00
Christophe Grenier
0a7811bc2b Do not return the file handle when calling log_open() and log_open_default() 2020-11-27 19:19:33 +01:00
Christophe Grenier
5167a2ddf8 fat: use uint8_t instead of int8_t for name and ext 2020-11-27 18:54:03 +01:00
Christophe Grenier
2a908a6bc7 src/Makefile.am: add "-c11" flag when calling frama-c 2020-11-27 18:53:21 +01:00
Christophe Grenier
8863ce6325 src/ntfs.c: fix a check in ntfs_attribheader() 2020-11-27 18:52:22 +01:00
Christophe Grenier
cab9ca6645 src/luks.c: improve code readability 2020-11-27 18:51:45 +01:00
Christophe Grenier
003dc8d883 src/xfs.c: improve code readability 2020-11-27 18:49:49 +01:00
Christophe Grenier
57b93502c6 sysv: use unsigned int when checking the signature 2020-11-27 18:47:59 +01:00
Christophe Grenier
92e07c9b13 src/log.c: call dup2() in log_open() 2020-11-27 18:37:43 +01:00
Christophe Grenier
7c4fba8ed6 src/file_swf.c: Check scriptLen in compressed swf header 2020-11-17 08:48:17 +01:00
Christophe Grenier
06357586b8 src/file_txt.c: try to be more frama-c friendly 2020-11-01 13:34:13 +01:00
Christophe Grenier
9c85596c0b src/Makefile.am: add session_photorec-%.framac target 2020-11-01 13:31:14 +01:00
Christophe Grenier
966bea762d Disable ncurses library when using frama-c 2020-11-01 13:29:29 +01:00
Christophe Grenier
f13fadfdbd src/godmode.c: try to be more static parser friendly 2020-11-01 13:28:37 +01:00
Christophe Grenier
16ec8ee8b5 src/file_ab.c: fix frama-c annotation 2020-11-01 13:27:37 +01:00
Christophe Grenier
7bb300df96 src/fatp.c: remove useless prototypes 2020-11-01 13:27:21 +01:00
Christophe Grenier
70c0f30cd3 src/file_vmdk.c: remove unused l1_entry_sectors variable 2020-11-01 13:26:59 +01:00
Christophe Grenier
8b11300b7e src/file_fits.c: small steps to make the parser more frama-c friendly. 2020-10-28 19:12:28 +01:00
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