module

Crowbar::Template

Output envelope templating engine. Replaces '%f' or '{{data}}' within an inline string or template file with the mutated payload bytes, enabling protocol wrapper fuzzing.

Class methods

render(template_spec : String, data : Buffer | Bytes) : Buffer

Renders an output envelope wrapping data within a template specification. Spec can be an inline string or path to an existing file. Supported placeholders: '%f' (Radamsa standard) or '{{data}}'.

Source