Commit Graph

62 Commits

Author SHA1 Message Date
5fa6421f6c query: add support for querying chunk and vnode table contents 2025-06-23 13:39:19 +01:00
bad37dfeb6 chunk-table: fix incorrect b-tree node initialisation 2025-06-23 13:38:34 +01:00
f65bd32bcf cluster-table: fix incorrect b-tree node initialisation 2025-06-23 13:27:11 +01:00
34ab04fe4e pipeline: handle incompressible clusters 2025-06-23 13:21:36 +01:00
a98e51a869 b-tree: fix incorrect copy bounds and pointer swaps 2025-06-23 13:11:17 +01:00
150b092d1b capture: implement directory structure capture 2025-04-26 21:28:43 +01:00
d5df4d593f b-tree: fix corruption bug when inserting an entry in the middle of a node 2025-04-26 21:23:50 +01:00
4b790d855f query: add command-line switches to control what info is printed 2025-03-01 19:29:01 +00:00
fbf686fd45 unwrap: support unwrapping tags with odd-sized clusters 2025-03-01 19:28:17 +00:00
1d11e6dce7 chunk: file contents is now stored in a single, variable-length chunk 2025-03-01 19:27:54 +00:00
962a5dae31 capture: write file data to CDAT/CTAB tags 2025-02-27 15:53:39 +00:00
6bd2f486ef cluster-cache: fix put() not allocating space for a cluster in on-disk storage 2025-02-27 15:53:07 +00:00
0f9f798691 cluster-cache: fix get() not assigning data buffer to another cache entry after evicting it 2025-02-27 15:51:38 +00:00
47fbca38f6 cluster-cache: fix init function setting memcache count instead of memcache max 2025-02-27 15:50:57 +00:00
717b51df31 chunk: implement chunk_table_put 2025-02-27 15:50:01 +00:00
d423826815 shadow: fix cached cluster writer incrementing data pointer by wrong amount 2025-02-27 15:48:58 +00:00
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