Skip to content

Certificate-checked 64-bit varint overflow rejection via ordeal (#88) #190

Description

@avrabe

#88 wants overflow rejection on 64-bit varint values (src/lib/src/wasm_module/varint.rs), currently slated for Kani/CBMC only — a bounded result, no certificate.

Proposal: prove the varint bounds/overflow properties with ordeal (bvmul/bvadd overflow + bounds at widths 8/32/64 — squarely in-fragment) for a certificate-checked overflow proof (cert.recheck()-able) where Kani gives only bounded coverage.

Enabler: the equivalence & soundness toolkit (prove_valid) — ordeal roadmap pulseengine/ordeal#66 (v0.12.0); fits as-is. Boundary: varint overflow/bounds is QF_BV; Ed25519 (256-bit modular, #145/#32) and Rekor Merkle proofs (#137) are out of fragment — stay elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions