Log In
Log In

Test images 1

Test

Next Post

  • Fuzz testing
    Blog
    Fuzz testing is described as a technique that injects random data into software functions to expose crashes, memory leaks, and undefined behavior, especially in code handling untrusted input. A fuzzing engine repeatedly runs the target code with varied inputs, instrumenting it to collect coverage information that guides the generation of further samples, most of which are malformed. Crashes and sanitizer violations are monitored, making the approach valuable for libraries that parse or decode network data, such as Boost.Json, Boost.URL, and Boost.Mysql. Unit tests are still required, as they verify expected results, while fuzzing complements them by focusing on stability rather than correctness. LibFuzzer is recommended as the default engine because it is coverage‑guided, evolutionary, and bundled with clang, requiring only the addition of ‑fsanitize=fuzzer flags during compilation.