Skip to content

test(wasmtime): reject mutated Core ABI imports - #5

Merged
zackees merged 1 commit into
mainfrom
feat/wasmtime-admission-mutants
Sep 14, 2026
Merged

zackees merged 1 commit into
mainfrom
feat/wasmtime-admission-mutants

Conversation

@zackees

@zackees zackees commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Addresses the malformed import-admission portion of #1 and contributes evidence for kernal-api#13.

The generated Wasmtime 45 linker is tested against real Core Wasm modules: the exact generated namespace/name/signature instantiates and calls the host once; mutated namespace, import name, and signature all fail linker admission before any host effect.

Validation:

  • RUSTUP_TOOLCHAIN=1.95.0 soldr cargo fmt --all -- --check
  • RUSTUP_TOOLCHAIN=1.95.0 soldr cargo test -p fp-bindgen --no-default-features --features wasmtime45-integration --test wasmtime45_generated -- --nocapture

Manifest metadata/version validation remains a consuming kernal-api admission responsibility; this change proves exact linker import identity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant