class Crowbar::Mutators::DelimiterStress

Overview

Stresses delimiter parsing with mixed line breaks, header continuations, and repeated separators

Defined in:

crowbar/mutators/stress.cr

Constant Summary

DELIM_SNIPPETS = [Bytes[13], Bytes[10, 13], Bytes[13, 10, 32], Bytes[13, 10, 9], Bytes[0, 13, 10], Bytes[44, 44, 44, 44, 44], Bytes[58, 58, 58], Bytes[9, 9, 9, 9], Bytes[59, 59, 59]]

Instance Method Summary

Instance methods inherited from class Crowbar::Mutator

adjust_score(delta : Int32) adjust_score, aliases : Array(String) aliases, description : String description, effective_weight : Float64 effective_weight, mutate(context : Context, buffer : Buffer, target_range : Tuple(Int32, Int32) | Nil = nil) : Tuple(Bool, Int32) mutate, name : String name, score : Int32 score, score=(score : Int32) score=, weight : Float64 weight, weight=(weight : Float64) weight=

Constructor methods inherited from class Crowbar::Mutator

new(weight : Float64 = 1.0) new

Instance Method Detail

def description : String #

def mutate(context : Context, buffer : Buffer, target_range : Tuple(Int32, Int32) | Nil = nil) : Tuple(Bool, Int32) #

def name : String #