TIL that some fuzzers use code coverage metrics to drive their strategies. That's really clever! If some input can hit a line that was not previously being executed, chances are variations on it may hit more lines that haven't been covered yet.
-
-
Also worth noting that Miri, the Rust interpreter, exists and could probably be used for things like coverage tracking and mutating the Rust AST.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Have you seen https://lcamtuf.blogspot.com/2014/11/pulling-jpegs-out-of-thin-air.html?m=1 … ? It talks pretty much about this approach... maybe just a thin wrapper around the parser could allow to auto generate all these testcases ?
-
I hadn't yet, thanks for sharing!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.