Commit graph

3120 commits

Author SHA1 Message Date
Christophe Grenier
900207eb4e testdisk and photorec: display disk serial number when selecting source
disk
2023-01-23 21:07:02 +01:00
Christophe Grenier
00f5cff7ca update to 2023 2023-01-23 21:05:27 +01:00
Christophe Grenier
f8b86d4f66 PhotoRec: recover FX Preset .fxp files 2022-11-16 07:49:40 +01:00
Christophe Grenier
1c09ffcb6f new constant SINGLE_PARTITION_TYPE to improve code testing 2022-11-16 07:45:33 +01:00
Christophe Grenier
1c05a14387 src/file_gz.c: compilation fix when zlib is present and SINGLE_FORMAT
enabled.
2022-11-16 07:40:25 +01:00
Christophe Grenier
548a12d704 Replace "Select a media (use Arrow keys, then press Enter):" message by
"Select a media and choose 'Proceed' using arrow keys:"
2022-11-16 07:33:02 +01:00
Christophe Grenier
d4df329408 PhotoRec: distinguish Mathcad .mtcx files from .zip 2022-11-16 07:32:21 +01:00
Christophe Grenier
5924496e28 src/dirn.c: new function can_copy_dir() 2022-11-16 07:30:24 +01:00
Christophe Grenier
7a767a3917 Fix for 2038 compatibility 2022-09-10 10:07:50 +02:00
Christophe Grenier
0ae7969c12 src/file_ext.c: fix Array-bounds issue
See bug report: https://github.com/cgsecurity/testdisk/issues/104
Thanks to Daniil Frolov for reporting the problem.
2022-08-11 16:03:41 +02:00
Christophe Grenier
97f517280d PhotoRec: recover PowerArchiver .pa files 2022-07-14 10:17:59 +02:00
Christophe Grenier
ab631fbeff src/file_list.c: reduce number of external definition when SINGLE_FORMAT
is used
2022-07-14 10:13:37 +02:00
Christophe Grenier
4e44db2b46 Improve Frama-C annotations 2022-07-14 10:09:09 +02:00
Christophe Grenier
beaac3153e Update to July 2022 2022-07-14 10:02:36 +02:00
Christophe Grenier
3152a49873 src/file_ptf.c: relax Pro Tools ptf file signature 2022-07-14 09:56:49 +02:00
Christophe Grenier
c83e2b5d31 src/ntfs_adv.c: fix mft_lcn display by casting to "long long unsigned int" 2022-07-14 09:48:41 +02:00
Christophe Grenier
d818cc71ba src/file_exe.c: remove some useless code 2022-07-14 09:43:00 +02:00
Christophe Grenier
e9503f31f6 src/chgtype.c: remove redundant check 2022-07-14 09:32:18 +02:00
Christophe Grenier
0162c86872 src/file_skp.c: remove filesize limit 2022-07-14 09:29:51 +02:00
Christophe Grenier
2260302f98 src/file_sp3.c: rename variable time to file_time to avoid to shadow
time() function
2022-07-14 09:24:27 +02:00
Christophe Grenier
94a14b3585 src/hdaccess.c: make disk_get_sector_size variable local 2022-07-14 09:23:29 +02:00
Christophe Grenier
07a5647f89 src/ext2p.c: remove useless memory allocation 2022-07-14 09:13:18 +02:00
Christophe Grenier
305d71ea0a Use "DISABLED_FOR_FRAMAC" to disable code to facilitate verification
using frama-c
2022-04-13 09:20:45 +02:00
Christophe Grenier
952415ee99 src/partmac.[ch]: Fix mac structure to avoid using pointers 2022-04-10 11:48:51 +02:00
Christophe Grenier
baefe2b3e4 Drop "--enable-ncmouse" option from configure script 2022-04-08 13:49:07 +02:00
Christophe Grenier
37286661af pdiskseln.c,phrecn.c,ppartseln.c: disable some code for Frama-C 2022-04-07 20:25:04 +02:00
Christophe Grenier
2b0a0fcde8 src/ntfs_io.c: fix ntfs_device_testdisk_io_ioctl() prototype for ntfs-3g 2022-04-06 07:43:45 +02:00
Christophe Grenier
e6c21a9bb4 Avoid field with a 0 size as Frama-C do not support them. 2022-04-06 07:42:41 +02:00
Christophe Grenier
37d1b8ce36 src/qmainrec.cpp: log "QPhotoRec exited normally" when QPhotoRec is
closed.
2022-04-05 13:40:22 +02:00
Christophe Grenier
a0ce30c162 src/qphotorec_locale.qrc: fix for f599c961a0 2022-04-05 13:39:02 +02:00
Christophe Grenier
f599c961a0 QPhotoRec: add Finnish translation from https://www.transifex.com/cgsecurity/testdisk/qphotorects/ 2022-03-26 12:03:31 +01:00
Christophe Grenier
1b8f211d4a PhotoRec recover
- fbx: Kaydara 3D file
- hdf: Hierarchical Data Format 5
- lz: lzip compressed file
2022-03-24 13:31:17 +01:00
Christophe Grenier
4d988b1c2f Stops if argc <= 0 2022-01-27 09:04:41 +01:00
Christophe Grenier
b2a0d41da6 Numerous frama-c annotations 2021-11-20 11:26:50 +01:00
Christophe Grenier
edcb650063 PhotoRec: recover dovecot encrypted files (Disable by default) 2021-11-20 10:56:57 +01:00
Christophe Grenier
72ed2f2b49 QPhotoRec: update translations, add Polish(pl) 2021-11-10 11:26:32 +01:00
Christophe Grenier
e8ebbf703d Replace "harddisk" by "hard disk" and replace "is is" by "is"
See https://github.com/cgsecurity/testdisk/issues/110
2021-11-10 09:04:17 +01:00
Christophe Grenier
945dccda01 QPhotoRec: add sv_SE and zh_CN translations - missing part 2021-11-05 14:47:54 +01:00
Christophe Grenier
d59dbf0087 QPhotoRec: add sv_SE and zh_CN translations 2021-11-03 20:49:54 +01:00
Christophe Grenier
f37c9e5ca6 src/file_doc.c: improve Frama-C annotations 2021-09-06 07:49:47 +02:00
Christophe Grenier
219bd3a3ae src/file_riff.h: improve Frama-C annotations 2021-09-04 18:44:35 +02:00
Christophe Grenier
5f1002487d src/file_nds.c: improve Frama-C annotations 2021-09-04 18:37:34 +02:00
Christophe Grenier
1f52c033e2 src/file_mpg.c: improve Frama-C annotations 2021-09-04 18:10:39 +02:00
Christophe Grenier
8a2edb7053 src/file_mp3.c: improve Frama-C annotations 2021-09-04 17:45:26 +02:00
Christophe Grenier
b394013916 src/file_mft.c: improve Frama-C annotations 2021-09-04 17:38:20 +02:00
Christophe Grenier
239a439bb9 src/intrfn.c: ask_confirmation() - clear the screen before closing it 2021-09-04 17:29:56 +02:00
Christophe Grenier
727984cc8f src/ext2_common.c: test_EXT2() - reduce code complexity 2021-09-04 17:28:48 +02:00
Christophe Grenier
098e93f61e part_i386: allow to force the partition type for PC Intel partition type 2021-09-04 17:28:07 +02:00
Christophe Grenier
35369be3dc src/file_zpr.c: improve Frama-C annotations 2021-07-29 12:36:57 +02:00
Christophe Grenier
0afcbf250f src/file_zip.c: improve Frama-C annotations 2021-07-29 12:36:21 +02:00
Christophe Grenier
fe9953063f src/file_zcode.c: improve Frama-C annotations 2021-07-29 12:35:52 +02:00
Christophe Grenier
1c64ef9bcd src/file_z2d.c: improve Frama-C annotations 2021-07-28 22:31:31 +02:00
Christophe Grenier
ce12222637 src/file_xz.c: improve Frama-C annotations 2021-07-28 22:28:08 +02:00
Christophe Grenier
aca1e4062a src/file_xv.c: improve Frama-C annotations 2021-07-28 22:26:11 +02:00
Christophe Grenier
6a4b8d1f6f src/file_xsv.c: improve Frama-C annotations 2021-07-28 22:21:49 +02:00
Christophe Grenier
2b5aa8f004 src/file_xpt.c: improve Frama-C annotations 2021-07-28 22:20:00 +02:00
Christophe Grenier
fc464a44f8 src/file_xml.c: improve Frama-C annotations 2021-07-28 22:11:08 +02:00
Christophe Grenier
fd398b75dd src/file_xm.c: improve Frama-C warnings 2021-07-28 22:08:50 +02:00
Christophe Grenier
92dc91e9b1 src/file_xfs.c: improve Frama-C annotations 2021-07-28 22:01:14 +02:00
Christophe Grenier
ea70741403 src/file_xfi.c: improve Frama-C annotations 2021-07-28 21:55:47 +02:00
Christophe Grenier
fbf070895c src/file_xcf.c: improve Frama-C annotations 2021-07-28 21:49:41 +02:00
Christophe Grenier
21b95cd07f src/file_xar.c: improve Frama-C annotations 2021-07-28 21:45:11 +02:00
Christophe Grenier
6ebcf591e1 src/file_x4a.c: fix Frama-C warnings 2021-07-28 21:42:22 +02:00
Christophe Grenier
40ee6a99f8 src/file_x3i.c: improve Frama-C annotations 2021-07-28 13:53:56 +02:00
Christophe Grenier
93fe1aafd6 src/file_x3f.c: improve Frama-C annotations 2021-07-28 13:47:02 +02:00
Christophe Grenier
90fd993eb5 src/file_wv.c: improve Frama-C annotations 2021-07-28 13:44:57 +02:00
Christophe Grenier
effc05c7cc src/file_wtv.c: improve Frama-C annotations 2021-07-28 13:39:31 +02:00
Christophe Grenier
8316d06304 src/file_wpd.c: improve Frama-C annotations 2021-07-28 13:32:09 +02:00
Christophe Grenier
61ee9b4a0a src/file_wpb.c: improve Frama-C annotations 2021-07-28 13:26:46 +02:00
Christophe Grenier
1b6ee0c57a src/file_woff.c: improve Frama-C annotations 2021-07-28 13:24:19 +02:00
Christophe Grenier
1f98465db2 src/file_wnk.c: improve Frama-C annotations 2021-07-28 13:22:18 +02:00
Christophe Grenier
9c8f781be0 src/file_wmf.c: improve Frama-C annotations 2021-07-27 22:00:05 +02:00
Christophe Grenier
7b8d5fc2c5 src/file_wld.c: improve Frama-C annotations 2021-07-27 21:51:42 +02:00
Christophe Grenier
2a933246e8 src/file_wks.c: improve Frama-C annotations 2021-07-27 21:49:16 +02:00
Christophe Grenier
ef46fa9552 src/file_win.c: improve Frama-C annotations 2021-07-27 21:42:59 +02:00
Christophe Grenier
6904809320 src/file_wim.c: improve Frama-C annotations 2021-07-27 21:30:23 +02:00
Christophe Grenier
df2cdb5991 src/file_wee.c: improve Frama-C annotations 2021-07-27 21:28:39 +02:00
Christophe Grenier
1406dfe592 src/file_wdp.c: improve Frama-C annotations
src/file_tiff.h: fix annotation
2021-07-27 21:21:12 +02:00
Christophe Grenier
f7fee461b4 src/file_wallet.c: improve Frama-C annotations 2021-07-27 21:06:17 +02:00
Christophe Grenier
06152cff63 src/file_wad.c: improve Frama-C annotations 2021-07-27 21:04:32 +02:00
Christophe Grenier
dac63a1e98 src/file_vmg.c: improve Frama-C annotations 2021-07-27 19:05:13 +02:00
Christophe Grenier
7d816e43eb src/file_vmdk.c: improve Frama-C annotations 2021-07-27 18:26:25 +02:00
Christophe Grenier
fb3c7f534b src/file_vib.c: improve Frama-C annotations 2021-07-27 18:25:23 +02:00
Christophe Grenier
d9c77b9612 src/file_vfb.c: improve Frama-C annotations 2021-07-27 18:22:26 +02:00
Christophe Grenier
c869ccf448 src/file_veg.c: improve Frama-C annotations 2021-07-27 18:22:03 +02:00
Christophe Grenier
54f226ee39 src/file_vdj.c: improve Frama-C annotations 2021-07-27 18:17:26 +02:00
Christophe Grenier
32f2203df9 src/file_vdi.c: improve Frama-C annotations 2021-07-27 13:28:50 +02:00
Christophe Grenier
c9fd57b611 src/file_vault.c: improve Frama-C annotations 2021-07-25 18:58:02 +02:00
Christophe Grenier
0d5d183983 src/file_v2i.c: improve Frama-C annotations 2021-07-25 18:54:44 +02:00
Christophe Grenier
864e52a8e8 src/file_tz.c: improve Frama-C annotations 2021-07-25 18:14:11 +02:00
Christophe Grenier
870aaf5315 src/file_txt.c: recover cdxml and mol2 files
Improve Frama-C annotations
2021-07-25 11:47:07 +02:00
Christophe Grenier
31dd524d28 src/file_ttf.c: improve Frama-C annotations 2021-07-25 11:21:19 +02:00
Christophe Grenier
df7a8d1279 src/file_tpl.c: improve Frama-C annotations 2021-07-25 11:15:14 +02:00
Christophe Grenier
1b90a5bcf3 src/file_tph.c: improve Frama-C annotations 2021-07-25 11:12:08 +02:00
Christophe Grenier
e92b032245 src/file_torrent.c: improve Frama-C annotations 2021-07-25 11:09:24 +02:00
Christophe Grenier
0877f7397f src/file_tivo.c: improve Frama-C annotations 2021-07-25 11:06:07 +02:00
Christophe Grenier
2573eb40c3 src/file_tiff*.[ch]: Fix Frama-C warnings 2021-07-25 10:58:01 +02:00
Christophe Grenier
d8ca0f4608 src/file_tib.c: Fix Frama-C warnings 2021-07-25 10:38:35 +02:00
Christophe Grenier
a223d314a6 src/file_tg.c: improve Frama-C annotations 2021-07-24 18:30:36 +02:00
Christophe Grenier
e0e18027a3 src/file_tax.c: improve Frama-C annotations 2021-07-24 18:27:03 +02:00