Bugs detected by GCC analyzer
Stephen Hemminger
stephen at networkplumber.org
Thu Nov 12 18:49:14 CET 2026
GCC now has a built in code analyzer which is enabled with -fanalyzer.
Building DPDK with that produces lots of warnings.
Given the volume of data AI proved helpful in pulling real bugs out of the noise.
I put first round of them in bugzilla.
Summary:
About a quarter of the reports are valid: of 894 distinct warning rows
(708 unique sites, 1267 log lines), 246 are real, 631 are false
positives and 17 I could not settle. Of the real ones, 88 are in app/
(75 in unit tests), and a further group is harmless. The full list is
in analyzer-triage.md.
Sending results here so that anyone interested can pickup.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: analyzer-bugs.md
Type: text/markdown
Size: 31818 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/dev/attachments/20261112/42d2b099/attachment-0002.md>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: analyzer-triage.md
Type: text/markdown
Size: 12590 bytes
Desc: not available
URL: <http://mails.dpdk.org/archives/dev/attachments/20261112/42d2b099/attachment-0003.md>
More information about the dev
mailing list