ilusm.dev

fuzz

structured fuzzing, mutation, coverage feedback.

Load with: use fuzz

Quick example

use fuzz

result = fuzzc3("value", "value")
prn(result)

Functions

Coverage tracking

fuzzc()

Performs the operation.

fuzzc1()

Performs the operation.

fuzzc2()

Performs the operation.

fuzzc3(a, b)

Performs the operation. Takes a, b.

fuzzc4(cov)

Performs the operation. Takes cov.

Mutations

fuzzm(data)

Performs the operation. Takes data.

fuzzm1(data)

Performs the operation. Takes data.

fuzzm2(data)

Performs the operation. Takes data.

fuzzm3(data, count)

Performs the operation. Takes data, count.

fuzzm4(a, b)

Performs the operation. Takes a, b.

Structured mutation

fuzzs(template, mut_fn)

Performs the operation. Takes template, mut_fn.

Generators

fuzzr(len)

Performs the operation. Takes len.

fuzzr1(min, max)

Performs the operation. Takes min, max.

fuzzr2(opts)

Performs the operation. Takes opts.

fuzzr3(len, charset)

Performs the operation. Takes len, charset.

fuzzr4(len)

Performs the operation. Takes len.

Dictionary fuzzing

fuzzd(path)

Performs the operation. Takes path.

fuzzd1(data, dict)

Performs the operation. Takes data, dict.

Grammar-based fuzzing

fuzzg(grammar, symbol)

Performs the operation. Takes grammar, symbol.

fuzzg1(grammar, start)

Performs the operation. Takes grammar, start.

Fuzz loop

fuzzr5(target_fn, seed_corpus, max_iter, crash_save)

Performs the operation. Takes target_fn, seed_corpus, max_iter, crash_save.

Corpus minimization

fuzzc5(corpus, target_fn)

Performs the operation. Takes corpus, target_fn.

AFL-style bit collision tracking

fuzzb()

Performs the operation.

fuzzb1(cov)

Performs the operation. Takes cov.

Notes

  • Fuzzing harness - generate random inputs, track coverage.