Files
genode/repos/gems/src/app/tresor_check
Martin Stein b903ddeea7 tresor: fix and test handling of minimal trees
* add testing of trees with minimal and maximal dimensions to tresor_tester.run
* replace tresor_init-local configuration type with simpler and more conformant
  configuration type in tresor/types.h that does also XML-parsing and
  XML-generation of configurations
* raise min degree to 2 because a degree of 1 is not practical und would
  require additional logic
* fix overflow with num_blocks=0 in Superblock_control::Read|Write_vbas
* fix off-by-one bug regarding the number of levels in Vbd_initializer
* improve sanity checks in Tree_configuration constructors
* document level indices in tresor_init/README
* fix size of some arrays in order to be able to handle the maximum number of
  tree levels

Ref #5077
2024-04-12 15:00:46 +02:00
..
2023-05-30 12:03:32 +02:00

The tresor_check component checks the integrity of the meta and payload data of
a Tresor container. This includes the tree for the virtual block device, the
free tree and the meta tree. On success, the component exits with exit value 0,
otherwise with exit value -1.


Sessions
~~~~~~~~

This is an overview of the sessions required and provided by the
component apart from the environment sessions:

* Requires one Block session.


Examples
~~~~~~~~

An example of how to use the tresor_check component can be found in the test
script 'gems/run/tresor_utils.run'.