truent-core
Core types, traits, and shared utilities for the Truent framework. Every other crate in the workspace depends on this one.
Usage
[]
= "0.3.0"
Key Types
Finding— a single detected violation (invariant_id,severity,file,line,col,message,snippet, plus optional metadata/source-fragment via the builder methods)Severity—Critical | High | Medium | Low | InfoInvariant,ProgramModel,FunctionModel,StateVar— the program model chain analyzers produce (also re-exported fromtruent-ir)ChainAnalyzer,CodeGenerator,Simulator— the traits each chain's analyzer/generator crate implementsConfig,ChainConfig,AlertConfig,InvariantConfig— project configuration (.truent.toml)CodeFuzzer,FuzzResult— deterministic, seeded synthetic-pattern generation used by the fuzz-testing infrastructure
Example
use ;
let finding = new
.with_metadata;
License
MIT