LLVM Adds Options To Do Fuzz Testing
The latest additions to LLVM and Clang begin adding support for fuzzing capabilities.
LLVM/Clang developers have begun work on adding fuzz testing capabilities, the providing semi-random test data in an automated manner to test functions for potentially unchecked scenarios using malformed data, etc. Fuzzing helps developers avoid potential crashes, security issues, and uncovering other possible pitfalls.
A few days ago LLVM added a fuzzer library and the latest change that landed on Wednesday is a clang-format-fuzzer utility.
Clang-format-fuzzer uses the new fuzzer library for exposing these fuzzing capabilities. The commit message so far has found around 15 bugs within LLVM itself and hopes to begin self-testing the fuzzer on LLVM via a test bot to protect against future issues. Clang-format-fuzzer looks like yet another interesting item in a developer's toolbox for better testing the quality of open-source code for potential issues.
LLVM/Clang developers have begun work on adding fuzz testing capabilities, the providing semi-random test data in an automated manner to test functions for potentially unchecked scenarios using malformed data, etc. Fuzzing helps developers avoid potential crashes, security issues, and uncovering other possible pitfalls.
A few days ago LLVM added a fuzzer library and the latest change that landed on Wednesday is a clang-format-fuzzer utility.
Clang-format-fuzzer uses the new fuzzer library for exposing these fuzzing capabilities. The commit message so far has found around 15 bugs within LLVM itself and hopes to begin self-testing the fuzzer on LLVM via a test bot to protect against future issues. Clang-format-fuzzer looks like yet another interesting item in a developer's toolbox for better testing the quality of open-source code for potential issues.
4 Comments