PaddiM8 / kalker

Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
https://kalker.xyz
MIT License
1.64k stars 74 forks source link

Add fuzzing harness, in order to find panics through invalid input #58

Closed 5225225 closed 3 years ago

5225225 commented 3 years ago

This adds support for fuzzing the library input using https://github.com/rust-fuzz/cargo-fuzz, as a way to find bugs by looking for invalid input that causes the library to panic.

This library isn't really security sensitive, but even so, fuzzing it can find parser errors and other areas where it can panic when you wouldn't expect it to.

PaddiM8 commented 3 years ago

This is great, thank you!