Commit graph

3293 commits

Author SHA1 Message Date
Christophe Grenier
396a3e9c65 src/file_psd.c: improve Frama-C annotations 2023-10-08 14:36:14 +02:00
Christophe Grenier
51f8d1310b src/file_psb.c: improve Frama-C annotations 2023-10-08 14:35:55 +02:00
Christophe Grenier
4730b7aa87 src/file_pdf.c: improve Frama-C annotations after removing a call to
MALLOC()
2023-10-08 14:35:16 +02:00
Christophe Grenier
2dfa134455 src/file_nk2.c: fix Frama-C annotations for file_check_nk2() 2023-10-08 14:34:41 +02:00
Christophe Grenier
2ddc089e4d src/file_hdf.c: improve file_check_hdf() annotations 2023-10-08 14:33:59 +02:00
Christophe Grenier
7c660ff10b src/file*.c: add various Frama-C annotations in data_check_*() 2023-10-08 14:31:56 +02:00
Christophe Grenier
1941a27e94 src/file_fbx.c: fix wrong Frama-C annotations 2023-10-08 14:31:06 +02:00
Christophe Grenier
126b9fafe5 src/file_dovecot.c: fix wrong Frama-C annotations for data_check_dovecot2() 2023-10-08 14:30:38 +02:00
Christophe Grenier
251ac27971 src/file_list.c: fix several boggus ifdef 2023-10-08 14:29:57 +02:00
Christophe Grenier
27e50f94d8 src/common.c: Frama-C annotations for _date_get_leap_day() 2023-10-08 14:28:09 +02:00
Christophe Grenier
7430e4da4b src/addpart.h: improve Frama-C annotations for add_partition_cli() 2023-10-08 14:25:33 +02:00
Christophe Grenier
3e11771f78 src/fidentify.c: improve Frama-C annotations 2023-10-08 14:24:21 +02:00
Christophe Grenier
74f379bba4 src/file_jpg.c: improve Frama-C annotations 2023-10-08 14:21:58 +02:00
Christophe Grenier
4e66719d45 src/file_tiff_be.c, src/file_tiff_le.c: Frama-C - use static buffer to avoid
calling MALLOC()
2023-10-08 14:18:15 +02:00
Christophe Grenier
cb58fe3a0e src/file_exe.c: improve Frama-C annotations 2023-10-08 14:16:18 +02:00
Christophe Grenier
c966ee4baa src/file_doc.h: add annotations for file_check_doc_aux() 2023-10-08 14:14:51 +02:00
Christophe Grenier
d90b4571d7 src/fat_common.c, src/fat_dir.c: more Frama-C annotations 2023-10-08 14:13:56 +02:00
Christophe Grenier
bd0b82c437 src/ext2_common.c: more Frama-C annotations 2023-10-08 14:13:17 +02:00
Christophe Grenier
9c37fccbd3 src/apfs_common.c: fix Frama-C annotations for fletcher64() 2023-10-08 14:11:47 +02:00
Christophe Grenier
0fdbc68915 src/filegen.c: improve Frama-C annotations 2023-10-08 14:00:23 +02:00
Christophe Grenier
b05dfc200b src/adv.c: add Frama-C annotation for interface_adv() 2023-10-08 13:57:07 +02:00
Christophe Grenier
28e29554f7 src/crc.c: fix Frama-C annotations for get_crc32 2023-10-08 13:56:32 +02:00
Christophe Grenier
d29facb0d7 src/log.c: add Frama-C annotations for dump_log() and dump2_log() 2023-10-08 13:55:39 +02:00
Christophe Grenier
0c9784cb76 Split src/list.h in 3 2023-09-02 10:17:38 +02:00
Christophe Grenier
14210bd402 src/file_zip.c: improve Frama-C annotations 2023-09-01 07:58:38 +02:00
Christophe Grenier
2457531d2b src/file_doc.c: improve Frama-C annotations 2023-08-31 13:55:08 +02:00
Christophe Grenier
d2d79fe429 src/common.c: rewrite set_part_name(), set_part_name_chomp() and
date_dos2unix() to fix Frama-C warnings
2023-08-25 16:45:59 +02:00
Christophe Grenier
5870c3c967 src/hdaccess.c: use /sys/dev/block/*/device/{model,serial,rev} to get
information about disks
2023-08-25 16:40:27 +02:00
Christophe Grenier
da2ed0b7aa src/file_mov.c: recover "XAVC" videos 2023-08-25 11:45:44 +02:00
Christophe Grenier
979489eff6 new prototype for copy_file(), improve error reporting 2023-08-25 11:43:50 +02:00
Christophe Grenier
a8b22a5eed src/fat_adv.c: move up2power() from src/common.c 2023-08-25 11:39:22 +02:00
Christophe Grenier
cd8d1a00d3 src/exfat_dir.c: Better utf-8 support when iconv is missing 2023-06-18 18:01:20 +02:00
Christophe Grenier
9997b601c2 fidentify: report if iconv is used 2023-02-19 09:45:36 +01:00
Christophe Grenier
972217f993 configure.ac: fidentify doesn't use com_err ext2fs ntfs-3g ntfs uuid libaries 2023-02-19 09:42:41 +01:00
Christophe Grenier
6e7da4929b qphotorec: improve error message when write failed 2023-02-19 09:16:30 +01:00
Christophe Grenier
5ddaee9a47 Commit various Frama-C annotations 2023-02-19 09:15:52 +01:00
Christophe Grenier
97f7083ba8 src/apfs_common.c: avoid integer overflow when checking block count. 2023-02-19 09:14:47 +01:00
Christophe Grenier
f13286f198 testdisk, photorec: report iconv usage 2023-02-19 09:11:47 +01:00
Christophe Grenier
593d540676 Merge branch 'gszy_shapefile' to add support for .shp (ESRI Shapefiles) 2023-02-03 15:36:29 +01:00
Christophe Grenier
ca8e5cab23 src/file_shp.c: fix filesize detection.
Add some frama-c annotations
2023-02-03 15:34:55 +01:00
Grzegorz Szymaszek
0151442354 Add basic shapefile (.shp, .shx) support
The shapefile support includes recognition of the magic 0x0000270a and
parsing the file length. The source code is based on the template file
and file_bmp.c.

The shapefile format is described at [1], the article links to other
resources, like the Technical Description[2].

[1]: https://en.wikipedia.org/wiki/Shapefile
[2]: https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf
2023-02-01 22:29:22 +01:00
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
931421d4df configure.ac: update to November 2022
compile.sh: switch tuxera.com to https
2022-11-16 07:37:42 +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