Skip to main content

synth_core/
lib.rs

1//! Synth Core - Fundamental data structures and types
2//!
3//! This crate defines the core data structures used throughout the Synth synthesizer,
4//! including representations for WebAssembly components, modules, and the intermediate
5//! representation (IR) used for synthesis.
6
7pub mod arena_bind;
8pub mod async_intrinsics;
9pub mod backend;
10pub mod component;
11pub mod dwarf_line;
12pub mod error;
13pub mod ir;
14pub mod provenance;
15pub mod safety_manifest;
16pub mod sbom;
17pub mod static_data_addr;
18pub mod target;
19pub mod wasm_decoder;
20pub mod wasm_op;
21pub mod wasm_stack_check;
22pub mod wcet;
23pub mod wsc_facts;
24
25pub use backend::*;
26pub use component::*;
27pub use error::{Error, Result};
28pub use ir::*;
29pub use safety_manifest::SafetyManifest;
30pub use sbom::{CycloneDxSbom, SbomInputs};
31pub use target::*;
32pub use wasm_decoder::{
33    CallIndirectGuards, DecodedModule, ElemSegmentInfo, FunctionOps, ImportEntry, ImportKind,
34    TableGuards, WasmMemory, decode_wasm_functions, decode_wasm_module,
35};
36pub use wasm_op::{WasmOp, rewrite_memory_grow_zero};
37pub use wsc_facts::{FactKind, WSC_FACTS_SECTION_NAME, WscFact, WscFactsParse, parse_wsc_facts};