crystal-fuzzing

Fuzzing for Crystal programming language

Fuzzing for Crystal programming language

crystal fuzz_parser/main.cr

  • Fuzzes Crystal's parser and code stringifier.

  • Uses existing parser specs as samples.

  • Writes errors into a local SQLite database.

    • Possible sets of fields (others NULL):

      original_src parsed_src reparsed_src exception outcome of Crystal compiler's actions
      crashed during initial parsing
      threw an exception during initial parsing
      parsed a sample and stringified it but raised when parsing that again
      parsed and stringified a sample, but parsing and stringifying that again produced a different result
    • sqlitebrowser recommended for viewing.

  • Requires: crystal, radamsa, libsqlite3.

Repository

crystal-fuzzing

Owner
Statistic
  • 7
  • 0
  • 0
  • 0
  • 1
  • about 3 years ago
  • June 13, 2019
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 17:15:42 GMT

Languages