MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / section

Method section

crates/fuzzing/src/generators/stacks.rs:399–401  ·  view source on GitHub ↗

Helper that defines a section in the module and takes ownership of it so that it is dropped and its memory reclaimed after adding it to the module.

(module: &mut wasm_encoder::Module, section: impl wasm_encoder::Section)

Source from the content-addressed store, hash-verified

397 // so that it is dropped and its memory reclaimed after adding it to the
398 // module.
399 fn section(module: &mut wasm_encoder::Module, section: impl wasm_encoder::Section) {
400 module.section(&section);
401 }
402
403 // Helper that defines a function body in the code section and takes
404 // ownership of it so that it is dropped and its memory reclaimed after

Callers 15

reloc_section_targetFunction · 0.80
_serializeMethod · 0.80
build_raw_intrinsicsFunction · 0.80
encodeMethod · 0.80
build_wasmFunction · 0.80
secFunction · 0.80
to_bytesMethod · 0.80
encodeMethod · 0.80
to_wasm_binaryMethod · 0.80
rewriteMethod · 0.80
instrumentFunction · 0.80
rewrite_componentMethod · 0.80

Calls

no outgoing calls

Tested by 1