Gunnar

nordisk/heimdall

guests/verify-bundle/openzl/VENDOR.md

OpenZL decoder, vendored for the verify-bundle guest

Heimdall is a defensive sandbox. This directory holds the C the guest compiles into its wasm32 module so it can read OpenZL-compressed znippy members (feature openzl, on by default). See docs/OPENZL-WASM.md for why and how.

Provenance

Copied from the published crate openzl-sys-rs 0.4.1+openzl.0.3.0 (crates.io, the exact library Holger and znippy link), whose openzl/VENDOR.md pins:

ComponentVersionUpstream
OpenZLtag v0.3.0 = commit 32246b48faee46807f84183dac4db479089f5445github.com/facebook/openzl
zstd1.5.7pinned by OpenZL's CMake
lz41.10.0pinned by OpenZL's CMake

Licences: src/LICENSE (OpenZL, BSD-3-Clause), src/deps/zstd/LICENSE (BSD-3-Clause), src/deps/lz4/LICENSE (BSD-2-Clause).

What is here

build.rs compiles src/ + shim/hzl.c with clang for wasm32 against wasi-libc's headers only (no wasi-libc object is linked). malloc & co. are the guest's Rust allocator (src/zl.rs); memcpy/memmove/memset come from Rust's compiler-builtins.