Source code analyser
scan-build is a static analyzer and part of the clang family of tools. It can detect:
It will create an HTML report for all the issues that it finds. It’s very simple to run:
# Configure NeoMutt as normal
./configure [OPTIONS]
# Run make under scan-build
scan-build make