Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

skx
Copy link
Owner

@skx skx commented Nov 22, 2023

This pull-request, still in-progress, adds a minimal fuzzer to the test-suite and patches up some bogus crashes and panics that were found almost immediately. Ouch.

Some brief examples of things that were fixed/improved as a result of the fuzzer:

  • Division by zero is caught.
  • Issues with the backtick operator were caught.
  • Issues with null-operands were caught
    • Though I kinda feel the parser is at fault here.
  • The range operator was size-capped.
  • The index-operator was updated.

Once complete this will close #99.

skx added 5 commits November 22, 2023 20:34
This pull-request, still in-progress, adds a minimal fuzzer to the
test-suite and patches up some bogus crashes and panics that were
found almost immediately.  Ouch.

* Division by zero is caught.
* Issues with the backtick operator were caught.
* Issues with null-operands were caught
  * Though I kinda feel the parser is at fault here.
@skx skx merged commit 2770585 into master Nov 22, 2023
@skx skx deleted the 99-fuzz branch November 22, 2023 19:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add fuzz-testing

1 participant