afl-persistent

Use afl-fuzz in persistent mode
README

by using AflPersistent.run, you can fuzz things really fast:

let f () =
  let s = read_line () in
  match Array.to_list (Array.init (String.length s) (String.get s)) with
    ['s'; 'e'; 'c'; 'r'; 'e'; 't'; ' '; 'c'; 'o'; 'd'; 'e'] -> failwith "uh oh"
  | _ -> ()

let _ = AflPersistent.run f

compile with a version of ocaml that supports afl. that means trunk
for now, but the next release (4.05) will work too, and pass the
-afl-instrument option to ocamlopt.

Install
Sources
v1.3.tar.gz
md5=613ae369149ae8e2942e3c8bddd6798b
Dependencies
Reverse Dependencies