4 ms·
Sorry. I’m a JVM slob, what is fuzzing in that context of testing code rubustness?
by dopidopHN 4y ago
Sorry. I’m a JVM slob, what is fuzzing in that context of testing code rubustness?
- aw1621107 4y agoBroadly speaking, it's automated generation of test inputs to try to find bugs. For example, fuzzing a parser might involve feeding it random inputs and watching for crashes, hangs, etc. Fuzzers frequently also use instrumentation to try to figure out inputs that will hit more code paths in a more intelligent manner.
- andai 4y agoHere's a fun one: a fuzzer will generate valid JPEGs by starting with random input and mutating it to maximize code coverage. https://news.ycombinator.com/item?id=8571879 https://news.ycombinator.com/item?id=8571879