Skip to main content

materialize_with

Function materialize_with 

Source
pub fn materialize_with<R: ObjectResolver>(
    parsed: &ParsedDescriptor,
    resolver: &R,
    limits: Limits,
) -> Result<Vec<u8>>
Expand description

Materialize the exact source bytes for a parsed descriptor, resolving any external object references through resolver.

Enforces, in order: program bounds (via eval), reconstructed length, and whole-source SHA-256. The DRA is unchanged: it consumes the same plain object vector the standalone path uses.