module Crowbar::Template

Overview

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

Defined in:

crowbar/template.cr

Class Method Summary

Class Method Detail

def self.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}}'.