LLVM Adds Options To Do Fuzz Testing

Written by Michael Larabel in LLVM on 28 January 2015 at 09:38 PM EST. 4 Comments
LLVM
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.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week