Commit Graph

46 Commits

Author SHA1 Message Date
1752f4eacc pipeline: input data is now copied to the output buffer before processing 2025-02-27 15:48:07 +00:00
ef56b1eff9 update capture command to use new image i/o api 2025-02-24 15:56:04 +00:00
765945c9b7 add error code logging to unwrap command 2025-02-24 15:55:46 +00:00
4808a8abe7 re-implement chunk_table b-tree function callbacks 2025-02-24 15:55:26 +00:00
10e031ba9e add byte-wise i/o to tags open in sequential write-only mode 2025-02-24 15:54:52 +00:00
43f6ad2c8f fix string_table freeing a pointer that wasn't malloc'd 2025-02-24 15:54:00 +00:00
a2a941440a improve const-correctness of pipeline encode/decode functions 2025-02-24 15:53:46 +00:00
fdbddd5800 fix slightly incorrect cluster boundaries written by shadow_image 2025-02-24 15:51:05 +00:00
9847f093fc replace pre-processor defines in bin.h with enums
any uses of cluster size ids are now clearly signposted by using
enum ec3_cluster_size, while any uses of cluster sizes in bytes
will use size_t.
2025-02-24 15:49:41 +00:00
2bd030f13b remove string table and chunk table functions from ec3_image_ioctx 2025-02-24 15:47:49 +00:00
4598057553 each tag ioctx now keeps its own copy of the ec3_tag_info describing it
this fixes an issue where pointers to ec3_tag_info would become
invalid when the b_buffer containing them was resized.
2025-02-24 15:46:27 +00:00
08e7cfd8eb add a flag to ec3_image_ioctx_open to always delete an existing image if it already exists 2025-02-24 15:43:40 +00:00
d4d26f53d6 add pointer to b_tree as a parameter to all callbacks 2025-02-24 15:42:23 +00:00
8571a4bfec fix lots of memory leaks 2025-02-23 22:00:50 +00:00
9aeae388a4 replace ec3_reader and ec3_writer with a unified image and tag io interface 2025-02-23 20:52:59 +00:00
2e4ee5c1b6 implement separate buffering of tag data and cluster table 2025-02-16 08:46:22 +00:00
8b10c344d6 fix container tag count being interpreted as extent count 2025-02-16 08:43:57 +00:00
9addd05728 add reference to bluelib io module 2025-02-16 08:42:35 +00:00
e61e7afaff add string_table to manage container STAB data 2025-02-16 08:42:02 +00:00
c2094e0211 implement unwrap command to retrieve binary files from containers 2025-02-15 12:36:57 +00:00
de99b88097 move cluster table management from ec3_reader/writer to ec3_pipeline 2025-02-15 12:36:37 +00:00
6ffbb791fe support wrapping multiple tagged/untagged blobs and executables 2025-02-04 12:58:27 +00:00
d174baf97e display container, tag, and extent details in query command 2025-02-04 12:58:01 +00:00
d94edfa8ee read tag and extent table in ec3_reader_create 2025-02-04 12:57:55 +00:00
eabdc8777b track the number of cluster groups written by a cluster_table 2025-02-04 12:56:49 +00:00
02258f6403 fix incorrect extent bounds 2025-02-04 12:53:45 +00:00
5c79b8140c implement converting container/tag identifiers to/from strings 2025-02-04 12:52:37 +00:00
605a4ba810 add header decode and pipeline construction to image reader 2025-02-02 20:57:43 +00:00
0a2919a424 move cluster size functions and pipeline stage finders to pipeline system 2025-02-02 20:56:29 +00:00
c5d8b4e881 create cluster table while writing tag data to image 2025-02-02 15:20:11 +00:00
8ca50e4888 start implementing cluster table using b_tree 2025-02-01 22:13:00 +00:00
fea949f1f4 start packing some binary image structures 2025-02-01 22:12:46 +00:00
4f3fe09440 add node and entry size as parameters to b_tree_init 2025-02-01 22:12:31 +00:00
8e7995a2da test generic b-tree interface 2025-01-31 21:39:29 +00:00
e181ca6b65 finish implementing generic b-tree put() interface 2025-01-31 21:39:19 +00:00
8d2d937861 start implementing generic b-tree interface 2025-01-30 21:51:00 +00:00
6a0e3b41f6 fix void pointer arithmetic 2025-01-30 21:50:45 +00:00
dad7c27bf6 add cluster i/o pipeline 2025-01-30 18:10:38 +00:00
a69595b324 add zstd test 2024-12-18 20:51:01 +00:00
a4b2317950 cmake: update FindBluelib 2024-12-18 20:50:54 +00:00
eb210fa167 add binary data structure definitions and image writer function prototypes 2024-12-18 18:01:28 +00:00
59d40ea4d8 doc: lots more information about the image layout 2024-12-17 21:48:08 +00:00
5ec115756c doc: remove box-drawing characters 2024-12-13 20:39:42 +00:00
749178d303 doc: document tags and tag types 2024-11-03 20:00:49 +00:00
adabec8b8f add existing documentation 2024-11-02 15:09:42 +00:00
f68ac974d8 initial commit 2024-11-02 11:17:36 +00:00