Welcome to "The Fuzzing Book"! Software has bugs, and catching bugs can involve lots of effort. This book addresses this problem by automating software testing, specifically by generating tests automatically. Recent years have seen the development of novel techniques that lead to dramatic improvements in test generation and software testing. They now are mature enough to be assembled in a book – even with executable code.
from bookutils import YouTubeVideo
YouTubeVideo("w4u5gCgPlmg")
You can use this book in multiple ways:
-
You can read chapters in your browser. Check out the list of chapters in the menu above, or start right away with the introduction to testing or the introduction to fuzzing.
-
You can interact with chapters as Jupyter Notebooks. This allows you to edit and extend the code, experimenting live in your browser. Select "Binder" at the top of any chapter. Try interacting with the introduction to fuzzing.
-
You can use the code in your own projects. You can download and install the code and/or the notebooks on your machine. These code files can be executed, yielding (hopefully) the same results as the notebooks.
This work is designed as a textbook for a course in software testing or security testing; as supplementary material in a software testing, security testing, or software engineering course; and as a resource for software developers. We cover random fuzzing, mutation-based fuzzing, grammar-based test generation, symbolic testing, and much more, illustrating all techniques with code examples that you can try out yourself.
This book is work in progress. All chapters planned are out now, but we keep on refining text and code with minor and major releases. To get notified on updates, follow us on Mastodon.