Commit Graph

694 Commits

Author SHA1 Message Date
Rebecca Wallander
86b6680e3e Add data type to datastream block 2026-01-01 13:37:20 +01:00
Rebecca Wallander
588b354725 Print more verbose info for flux images with tool 2026-01-01 13:37:19 +01:00
Rebecca Wallander
d644f81fe3 Address some Sonar issues 2026-01-01 13:35:45 +01:00
Rebecca Wallander
65d34b1e9a Add flux implementation 2026-01-01 13:35:43 +01:00
6a15b73cd5 Update test files. 2025-12-31 16:58:31 +00:00
d213fa2569 Add basic metadata extraction and copying functionality to convert command 2025-12-31 16:58:17 +00:00
912b6c303f Add media tag handling to convert command 2025-12-31 16:40:13 +00:00
a4697c62fb Add support for Aaru JSON metadata extraction and copying to convert command. 2025-12-31 16:30:54 +00:00
1eb8e8c2db Add dump hardware information display and copying functionality to convert command. 2025-12-31 16:28:14 +00:00
9c27fa4d4b Update test data files. 2025-12-31 16:22:24 +00:00
c3bbcd0ebf Enhance tool's convert command UI. 2025-12-31 16:22:09 +00:00
703ac6ec18 Copy geometry from BlockMedia source if valid on image conversion. 2025-12-31 16:10:35 +00:00
a375eec404 Bump version to 1.0.0-alpha.27 in nuspec file v1.0.0-alpha.27 2025-12-31 12:04:26 +00:00
e0b8fc76c1 Update doxygen documentation. 2025-12-31 12:04:01 +00:00
3dc11ee8b1 Add static LRU hash map implementation with LRU-like eviction.
Not yet used.
2025-12-31 12:03:16 +00:00
34ca7c5921 Add DDT2 UserData Header section with detailed field display in aaruformattool information command. 2025-12-31 12:02:50 +00:00
4ca1938087 Fix table shift set up from hexadecimal to decimal.
It should be setup in 8 million sectors.
2025-12-31 12:02:22 +00:00
e962e3443e Update doxygen documentation. 2025-12-31 10:59:13 +00:00
48259087f8 Add command to inject media tags into images. 2025-12-31 10:56:38 +00:00
1365ba70a3 Bump version to 1.0.0-alpha.26 v1.0.0-alpha.26 2025-12-30 22:06:56 +00:00
90be043c43 Optimize the data block readings even before. 2025-12-30 22:05:45 +00:00
06b80b87b3 Bump version to 1.0.0-alpha.25 v1.0.0-alpha.25 2025-12-30 20:21:13 +00:00
df026fafb6 Set blockAlignmentShift in header to match parsed options 2025-12-30 20:20:49 +00:00
a1c1c342b6 Optimize opening of images so as to not read all data blocks searching for the biggest sector size if the header contains it. Continue old behaviour if not. 2025-12-30 20:15:07 +00:00
b7e0f60673 Guard against writes of too big sectors. 2025-12-30 20:14:18 +00:00
7f0dea2755 Repurpose two unused header fields to store biggest image sector size. 2025-12-30 20:13:39 +00:00
c09b251c59 Bump version to 1.0.0-alpha.24 v1.0.0-alpha.24 2025-12-30 11:12:33 +00:00
42aedc4bcf Enhance hash map resizing logic with intelligent size calculation for large maps 2025-12-30 11:12:22 +00:00
3385caac5d Fix typo in secondary DDTv2 identifier (back-compatible until out of alpha). 2025-12-30 11:12:00 +00:00
bc7c660a85 Update parse_options to include table_shift_found flag v1.0.0-alpha.23 2025-12-30 08:54:38 +00:00
80cc6f227d Bump version to 1.0.0-alpha.23 2025-12-30 08:50:22 +00:00
344ce95619 Update parse_options function to return table_shift_found flag 2025-12-30 01:41:41 +00:00
c6034b649c Add AGENTS.md - AI Assistant Guidelines for libaaruformat 2025-12-29 18:45:31 +00:00
1bf221c658 Bump version to 1.0.0-alpha.22 v1.0.0-alpha.22 2025-12-29 16:20:09 +00:00
43be8e89dd Change sector parameter types from uint16_t to uint32_t for negative and overflow sectors 2025-12-29 16:19:41 +00:00
e065d4d074 Free ECC context during cleanup to prevent memory leaks 2025-12-28 17:58:59 +00:00
541d4f499a Free cached secondary DDT during cleanup to prevent memory leaks 2025-12-28 17:58:48 +00:00
a558b4c489 Free compression buffer during cleanup to prevent memory leaks 2025-12-28 17:58:35 +00:00
dc4891b205 Free CRC64 context during cleanup to prevent memory leaks 2025-12-28 17:58:09 +00:00
fc13e2439a Free old cached DDT before replacing it to prevent memory leaks 2025-12-28 17:57:43 +00:00
ef3a154bd8 Free dump hardware entries array during cleanup to prevent memory leaks 2025-12-28 17:20:06 +00:00
92b27f44b2 Free DDT allocations during cleanup to prevent memory leaks 2025-12-28 17:19:54 +00:00
91e7da559b Free data tracks context during cleanup to prevent memory leaks 2025-12-28 17:19:27 +00:00
c042d9f057 Free CRC64 context after finalization to prevent memory leaks 2025-12-28 17:18:58 +00:00
2ce7e053e0 Add function to free Compact Disc ECC context and update cleanup logic 2025-12-28 17:04:14 +00:00
a93dcfc3d4 Add cache management functions and implement free callback for cached values 2025-12-28 16:57:19 +00:00
484d045277 Refine ASAN_OPTIONS handling for test discovery and execution 2025-12-28 16:56:45 +00:00
fb18a4f16a Implement safe copy for second block in CRC64 calculation to prevent buffer overflow 2025-12-28 16:56:29 +00:00
480bc9f6dc Reduce buffer size for 'gtest' in image creation to prevent potential issues 2025-12-28 16:31:46 +00:00
496a8d3cbc Fix buffer overflow risk in CRC64 calculation by implementing safe copy for second block 2025-12-28 16:31:30 +00:00