Expand description
Relation import/export fixtures for IFDS and differential evidence.
ⓘ
use weir::relation_interchange::{
export_relation_interchange_bytes, import_relation_interchange_bytes,
};Relation interchange rows for IFDS fixtures and differential evidence.
The schema is deliberately byte-oriented and dataflow-generic: it records source rows, sink rows, graph edges, call-string rows, fact domains, and output witnesses without depending on a downstream reporter.
Structs§
- Reconstructed
Relation Witness - Reconstructed source-to-sink witness.
- Relation
Call String - Call-string relation row.
- Relation
Edge - Graph or summary edge relation row.
- Relation
Endpoint - Source or sink relation row.
- Relation
Fact - Fact-domain relation row.
- Relation
Interchange - Owned relation interchange fixture.
- Relation
Output Witness - Output witness relation row.
Enums§
- Relation
Interchange Error - Relation interchange validation and decode failures.
Constants§
- RELATION_
INTERCHANGE_ SCHEMA_ VERSION - Relation interchange schema version.
Functions§
- export_
relation_ interchange_ bytes - Serialize relation interchange rows to canonical little-endian bytes.
- import_
relation_ interchange_ bytes - Decode canonical relation interchange bytes.
- reconstruct_
relation_ witness - Reconstruct one source-to-sink witness from relation interchange rows.
- validate_
relation_ interchange - Validate relation interchange tuple identities and witness consistency.