4

RustConf 2021 - Fuzz Driven Development by Midas Lambrichts

 2 years ago
source link: https://www.youtube.com/watch?v=qUu1vJNg8yo
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

RustConf 2021 - Fuzz Driven Development by Midas Lambrichts

1,917 views
Sep 15, 2021

33.7K subscribers

Fuzz Driven Development by Midas Lambrichts

Sometimes you can come up with an easy method to verify correctness, but you struggle with finding actual examples for the unit tests. You know that "For all x it holds that …", but you can't come up with good possibilities for x. This is where relying on fuzzing can quickly drive forward development through providing you with some real examples of what your code doesn't yet cover, allowing you to quickly cover a lot of ground. Together we'll go through the process of using cargo fuzz in order to build a quick program that can squash JSON Patch operations (RFC 6902), touching upon some utilities/libraries from the Rust community (fuzzing tools, serde_json,…), and learning some lessons about what kind of misconceptions you might have when getting started with fuzzing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK