class

Crowbar::Mutator

Inherits Reference < Object

Base class for all data and byte mutators. Incorporates Radamsa-inspired dynamic adaptive scoring (2..10) coupled with user-configurable priority weights for intelligent selection.

Constructors

new(weight : Float64 = 1.0)
Source

Instance methods

adjust_score(delta : Int32)

Adjust dynamic score within [2, 10]

Source
aliases

Optional short aliases or alternative identifiers (e.g. ["fuse", "ft", "fn"])

Source
description
Source
effective_weight

Probability multiplier: score * user_weight

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

Performs mutation on buffer, optionally constrained to target_range [start, end_exclusive]. Returns a tuple of {success : Bool, score_delta : Int32}. score_delta > 0 indicates success in an appropriate domain (+1 or +2). score_delta < 0 indicates the input does not match the mutator's domain (-1).

Source
name
Source
score
Source
score=(score : Int32)
Source
weight
Source
weight=(weight : Float64)
Source