Lots and lots of potential bugs detected by GCC 14 analyzer
If -fanalyzer is added to config/meson.build than compiler finds lots of potential problems. (Think of it as free version of Coverity).
The output is quite verbose.
Is it worth putting large N of new bugs into bugzilla or maybe maintainers could take a look.
Full build output is 12M so attaching it.
Quick hack to enable is.
config/meson.build +2 -0
@@ -308,6 +308,8 @@ endif # -Wall is added by default at warning level 1, and -Wextra # at warning level 2 (DPDK default) warning_flags = [ + '-fanalyzer', + # additional warnings in alphabetical order '-Wcast-qual', '-Wdeprecated',
~/DPDK/main $