Architectura is organized as a modular Cargo workspace (edition = "2024", MSRV 1.88 ). A plain cargo build or cargo check operates only on default-members—the environment-independent portable crates—so checking the workspace never unexpectedly pulls LLVM or optional external tooling.
Crate Purpose Default Features Optional Features License
archsem-coreIrEmitter trait, SemProgram micro-op VM & verifier, ArchManifest, DecodeContext, ControlEffect / SemanticControl, Choice, OpaqueIntrinsic, canonical wire encoder[]serde (RON/JSON artifact loading & serialization)MIT
archsem-recordIrEmitter action-stream recorder producing validated RecordedInstruction traces[]serdeMIT
archsem-irRtlEmitter, Fragment, Function CFG discovery, OriginGraph provenance, SemanticFidelity, backward slicing, effect summaries, register & memory SSA, replay[]— MIT
archsem-simplifySelf-contained 1–512-bit known-bits, demanded-bits, and effect-aware integer simplification over archsem-ir []— MIT
archsem-refIndependent bounded concrete reference executor (ConcreteEnvironment, ReferenceEmitter) []arm64-guest (links archsem-arm64/farm64)MIT
archsem-symexBounded symbolic execution, concolic execution, proof obligations, and validation artifacts (backed by bitwright) []serde, transform-checkMIT + bitwright (PolyForm-Noncommercial-1.0.0)
archsem-llvmReference LLVM 21.1 IR emitter (LlvmEmitter via llvm-sys) and SSA replay sink (host-only, publish = false) []— MIT
Crate Target Architecture Default Features Optional Features External Decoder / Runtime License
archsem-x86x86 (16/32/64-bit) []iced (iced-x86)iced-x86 (1.21, mvex)MIT
archsem-arm64AArch64 (A64, SIMD, SVE/SME, system) []farm64 (fARM64)fARM64MIT
archsem-wasmWebAssembly modules & functions Enabled (wasm) — fWASMMIT
archsem-evmEthereum Virtual Machine bytecode Enabled (evm) — evm-disassemblerMIT
archsem-cilECMA-335 (.NET CIL) PE images & methods Enabled (cil) — cildec, fNETMIT
archsem-luaLua 5.1–5.4 & LuaJIT bytecode chunks Enabled (lua) runtime (archsem-ref)fLUAMIT
archsem-pythonExperimental CPython 3.11.9 wordcode handler subset []pythonSelf-contained wordcode decoder MIT
Crate Role Host-only / Publishable License
archsem-capiC ABI (archsem.h), C++17 header (archsem.hpp), CMake target archsem::archsem Native library (publish = false); optional symex feature MIT (with symex: links bitwright under PolyForm-Noncommercial-1.0.0)
archsem-langAsem compiler library (lexer, parser, lowerer, Rust & .asemc emitter) Host-only (publish = false) MIT
archsemcAsem compiler CLI (check, build, fmt, schematic) Host-only (publish = false) MIT
archsem-lspLanguage Server Protocol server for .asem files Host-only (publish = false) MIT
archsem-genChecked-in semantic-family generator Host-only (publish = false) MIT
archsem-exportMachine-readable JSON exporter for semantic tables and coverage catalogs Host-only (publish = false) MIT
archsem-uops-infoOffline importer for pinned uops.info XML snapshots Host-only (publish = false) MIT
archsem-conformanceShared cross-component conformance corpus, adversarial fixtures, and external_oracle sidecar protocol Publishable (MIT) MIT
archsem-examplesRunnable target-neutral public API examples Workspace examples (publish = false) MIT
archsem-benchmarksDeterministic provider-pipeline performance baselines Workspace bench (publish = false) MIT
[!TIP]
editors/zed/asem is a wasm32-wasip2 Zed editor extension built independently by Zed's extension builder (excluded from the Cargo workspace so cargo does not descend into it automatically).
MSRV: Rust 1.88.0 (rust-version = "1.88").
Portable Host Platforms: Linux, macOS, and Windows.
WebAssembly Targets: All core portable crates (archsem-core, archsem-record, archsem-ir, archsem-simplify, archsem-symex, archsem-ref, archsem-conformance, archsem-x86, archsem-arm64) compile cleanly for both wasm32-unknown-unknown and wasm32-wasip1 (with --all-features):
cargo check --locked --target wasm32-unknown-unknown --all-targets --all-features \
-p archsem-core -p archsem-record -p archsem-ir -p archsem-simplify \
-p archsem-symex -p archsem-ref -p archsem-conformance -p archsem-x86 -p archsem-arm64
Host-Only Surfaces: archsem-llvm (requires LLVM 21.1 llvm-config on PATH), archsemc, archsem-lang, archsem-lsp, archsem-gen, archsem-export, archsem-uops-info, archsem-benchmarks, fuzzers (fuzz/), and native hardware differential tests are host-only.
Scope License Notes
Workspace default & all crates except archsem-symex MIT License (Copyright (c) 2026 valeria-org)Permissive commercial and noncommercial use
archsem-symex & archsem-capi (symex / ARCHSEM_SYMEX=ON)MIT wrapper + bitwright (PolyForm-Noncommercial-1.0.0) bitwright is free for noncommercial use; commercial use requires a license from its licensor
Formal proofs (formal/) MIT Pinned to Lean 4.32.0, stdlib-only