The state of static analysis in the GCC 12 compiler

259 · Red Hat · April 12, 2022, 7:03 a.m.
Building a static analyzer into the C compiler offers several advantages over having a separate tool, because the analyzer can track what the compiler and assembler are doing intimately. As a Red Hat employee, I work on GCC, the GNU Compiler Collection. Our static analyzer is still experimental but is making big strides in interesting areas, including a taint mode and an understanding of assembly-language code.         My work on adding static analysis has spanned the past three releases of GCC...