-
I'm looking into how to fuzz typescript simply and effectively - I've found https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz and used it successfully with a manually created commonjs script, but I've had trouble integrating it with an existing ts project.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not sure to fully answer your question, but if what you are looking for is to use fast-check to run a property against an infinite number of items then you could pass it an option called Based on what I read on the documentation you attached to the discussion, I believe fast-check will be able to do quite a great job in many scenarios covered by fuzzers. But it will not be coverage-based (generated values, except for shrink case, are fully independent from each others) and will not be able to detect infinite loop in sync code (not implemented yet). |
Beta Was this translation helpful? Give feedback.
Not sure to fully answer your question, but if what you are looking for is to use fast-check to run a property against an infinite number of items then you could pass it an option called
numRuns
.Based on what I read on the documentation you attached to the discussion, I believe fast-check will be able to do quite a great job in many scenarios covered by fuzzers. But it will not be coverage-based (generated values, except for shrink case, are fully independent from each others) and will not be able to detect infinite loop in sync code (not implemented yet).