Versions in this module Expand all Collapse all v0 v0.16.12 Nov 19, 2026 v0.16.11 Nov 18, 2026 v0.16.10 Nov 17, 2026 v0.16.9 Nov 16, 2026 Changes in this version type TLSCaptureResult + StreamIndexField string v0.16.8 Nov 16, 2026 v0.16.7 Nov 15, 2026 Changes in this version + func TLSStreamByCommunityID(ctx context.Context, input, id string) (int, error) type TLSCaptureResult + DecodeErrors []string + HTTP2 []TLSHTTP2Message + Node0Text string + Node1Text string + type TLSHTTP2Message struct + Body []byte + BodyText string + Direction string + Headers [][2]string + StreamID uint32 + Truncated bool v0.16.6 Nov 14, 2026 v0.16.5 Nov 11, 2026 v0.16.4 Nov 10, 2026 v0.16.3 Nov 9, 2026 v0.16.2 Nov 9, 2026 v0.16.1 Nov 8, 2026 v0.16.0 Nov 8, 2026 v0.15.4 Nov 7, 2026 Changes in this version + const GenerationVersion + var ErrBudgetExceeded = errors.New("harness budget exceeded") + func GrammarSeed(g Grammar) ([]byte, error) + func MutateFrame(frame []byte, framing Framing, mutation Mutation) ([]byte, error) + func ReadDirectionalInput(path string) ([]byte, error) + type AccessCase struct + Allowed bool + Exchange Exchange + Marker []byte + Message string + Metadata ExperimentMetadata + Resource string + ResponseStep int + Role string + State string + type AccessObservation struct + Case AccessCase + MarkerReturned bool + Reset ResetEvidence + Result Result + Status string + func RunAccess(ctx context.Context, cases []AccessCase) ([]AccessObservation, error) + type BoundaryCase struct + Accepted []byte + Control Exchange + Metadata ExperimentMetadata + Name string + Probe Exchange + Rejected []byte + ResponseStep int + Verification *Exchange + type BoundaryResult struct + After Result + AfterReset ResetEvidence + Before Result + BeforeReset ResetEvidence + Case BoundaryCase + ConfigurationSHA256 string + GenerationVersion string + Outcome string + Probe Result + ProbeReset ResetEvidence + Qualified bool + Verification *Result + Version int + func RunBoundary(ctx context.Context, spec BoundaryCase) (out BoundaryResult, runErr error) + type ByteCorpus struct + Cases []CorpusCase + ConfigurationSHA256 string + GenerationVersion string + TargetVersion string + Version int + func GenerateByteCorpus(seed []byte, maxCases, maxBytes int, target string) (ByteCorpus, error) + type Campaign struct + Control Exchange + FailureMarker []byte + Generation *GenerationSpec + MaxAttempts int + MaxCases int + Metadata ExperimentMetadata + ResponseStep int + SendStep int + type CampaignResult struct + After Result + AfterReset ResetEvidence + Before Result + BeforeReset ResetEvidence + Corpus GeneratedCorpus + Limitation string + MinimizationComplete bool + MinimizationMethod string + Minimized *Minimized + MinimizedCase *GeneratedCase + Reproduction *CampaignTrial + Trials []CampaignTrial + func RunCampaign(ctx context.Context, spec Campaign) (out CampaignResult, runErr error) + type CampaignTrial struct + Case GeneratedCase + FailureMarkerReturned bool + Input []byte + Reset ResetEvidence + Result Result + type CorpusCase struct + ID string + Input []byte + SHA256 string + func MutationCorpus(seed []byte, maxCases, maxBytes int) ([]CorpusCase, error) + type Exchange struct + Address string + ClientCertificateFile string + ClientKeyFile string + Framing Framing + MaxTotalBytes int + Network string + PeerCertificateSHA256 string + RootCAFile string + ServerName string + ServerTLS *ServerTLS + Steps []Step + TLS bool + TimeoutMilliseconds int + Version int + func (e Exchange) Validate() error + type ExperimentMetadata struct + Reset ResetSpec + TargetVersion string + Version int + func (m ExperimentMetadata) Validate() error + type FieldDifference struct + After string + Before string + Field string + Frame int + type FieldMutation struct + Name string + Values [][]byte + type FieldSpec struct + ByteOrder string + Expected []byte + Hypothesis string + Kind string + Length int + LengthFrom *LengthField + Name string + Offset int + TLV *TLVSpec + type Framing struct + ByteOrder string + Delimiter []byte + FixedSize int + Kind string + LengthBytes int + LengthIncludesHeader bool + MaxBytes int + func (f Framing) ParseAll(data []byte) ([][]byte, error) + func (f Framing) Read(reader io.Reader) ([]byte, error) + func (f Framing) Validate() error + type GeneratedCase struct + ConfigurationSHA256 string + Exchange Exchange + ID string + Kind string + ResponseStep int + SendStep int + type GeneratedCorpus struct + Cases []GeneratedCase + ConfigurationSHA256 string + GenerationVersion string + Metadata ExperimentMetadata + Version int + func GenerateCampaign(spec Campaign) (GeneratedCorpus, error) + type GenerationSpec struct + BuildSeed bool + Bytes bool + Fields []FieldMutation + Grammar *Grammar + States []StateMutation + Version int + type Grammar struct + Fields []FieldSpec + Framing Framing + MaxFrames int + Version int + func (g Grammar) Compare(before, after []byte) (GrammarComparison, error) + func (g Grammar) Interpret(data []byte) (report GrammarReport, runErr error) + type GrammarComparison struct + After GrammarReport + Alignment string + Before GrammarReport + Differences []FieldDifference + type GrammarFailure struct + Offset int + Raw []byte + type GrammarReport struct + Error string + Failure *GrammarFailure + Frames []InterpretedFrame + InputSHA256 string + Limitations []string + Version int + type Injection struct + BeforeFrame int + Direction string + Message []byte + type InterpretedField struct + Entries []TLVEntry + Hypothesis string + Length int + Name string + Offset int + Raw []byte + Value string + type InterpretedFrame struct + Fields []InterpretedField + Index int + Length int + Offset int + SHA256 string + type LengthField struct + Adjustment int + ByteOrder string + Offset int + Width int + func (s LengthField) Resolve(frame []byte) (int, error) + func (s LengthField) Validate() error + type Minimized struct + Attempts int + Complete bool + Input []byte + Original []byte + func Minimize(ctx context.Context, input []byte, maxAttempts int, ...) (Minimized, error) + type Mutation struct + Copies int + DelayMilliseconds int + Delete int + Direction string + Drop bool + Frame int + Insert []byte + Offset int + RepairLength bool + type Observation struct + Bytes []byte + Direction string + Name string + SHA256 string + Step int + TimestampNs string + type Proxy struct + Address string + Framing Framing + Injections []Injection + MaxFrames int + MaxTotalBytes int + Mode string + Mutations []Mutation + TLS *ProxyTLS + TimeoutMilliseconds int + type ProxyObservation struct + Copies int + Direction string + Error string + Frame int + Injected bool + Original []byte + Planned []byte + TLSCipher uint16 + TLSVersion uint16 + TimestampNs string + Transmitted []byte + func ProxyOne(ctx context.Context, listener net.Listener, spec Proxy) ([]ProxyObservation, error) + type ProxyTLS struct + CertificateFile string + ClientCertificateFile string + ClientKeyFile string + KeyFile string + Mode string + PeerCertificateSHA256 string + RootCAFile string + ServerName string + type ReproductionResult struct + GenerationVersion string + Spec ReproductionSpec + Trial CampaignTrial + Version int + func Reproduce(ctx context.Context, spec ReproductionSpec) (ReproductionResult, error) + type ReproductionSpec struct + Case GeneratedCase + FailureMarker []byte + Metadata ExperimentMetadata + type ResetEvidence struct + Description string + Isolation string + Mode string + Observation *Result + type ResetSpec struct + Description string + Exchange *Exchange + Mode string + type Result struct + Address string + ConfigurationSHA256 string + Error string + Limitations []string + LocalAddress string + Observations []Observation + RemoteAddress string + Status string + TLSCipher uint16 + TLSVersion uint16 + Version int + func Run(ctx context.Context, exchange Exchange) (result Result, runErr error) + func ServeOne(ctx context.Context, listener net.Listener, spec Exchange) (result Result, runErr error) + func ServeUDP(ctx context.Context, packet net.PacketConn, spec Exchange) (result Result, runErr error) + type ServerTLS struct + CertificateFile string + ClientCAFile string + KeyFile string + PeerCertificateSHA256 string + type StateMutation struct + Action string + Step int + type Step struct + CaptureLength int + CaptureOffset int + CaptureVariable string + Contains []byte + Expect []byte + ExpectPresent bool + Name string + Receive bool + Send []byte + SendPresent bool + SendVariable string + type TLSCaptureResult struct + Client []byte + ClientSHA256 string + InputSHA256 string + KeyLogSHA256 string + Limitations []string + Nodes []string + Server []byte + ServerSHA256 string + Stream int + ToolVersion string + Version int + func AnalyzeTLSCapture(ctx context.Context, input, keyLog string, stream int) (TLSCaptureResult, error) + type TLVEntry struct + Children []TLVEntry + Length int + Offset int + Type uint64 + Value []byte + type TLVSpec struct + ByteOrder string + LeafKind string + LengthBytes int + LengthIncludesHeader bool + MaxDepth int + MaxEntries int + MaxValueBytes int + NestedTypes []uint64 + TypeBytes int + func (s TLVSpec) Validate() error + type TriageArtifact struct + Classification string + ConfigurationSHA256 string + Evidence []byte + EvidenceSHA256 string + GenerationVersion string + Input []byte + InputGeneration string + InputSHA256 string + Kind string + Reset string + TargetVersion string + Version int + func ImportGeneratedTriage(kind, version, reset, inputGeneration string, input []byte, path string) (TriageArtifact, error) + func ImportTriage(kind, version, reset string, input []byte, path string) (TriageArtifact, error)