mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-24 08:50:27 -04:00
Massively improve how we call cppcheck to cover more code and identify more issues. When specifying any -D argument all other defines are ignored unless --force or --max-configs is specified as well. I mistakenly assumed that this was covered by --check-level=exhaustive. We need to try finding a value for --max-configs so that cppcheck doesn't spend hours scanning options.c Add a library cfg for our code which for now - identifies some printf-style functions - adds some common macro defines Use existing libraries. Add a second call to cppcheck to separate the Windows and Unixy code scans. This avoids some very non-sensical define combinations. Change-Id: I05720ccc3bcf706bbe62254afb74562580f5de56 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> Acked-by: Gert Doering <gert@greenie.muc.de> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1665 Message-Id: <20260607170713.4980-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg37078.html Signed-off-by: Gert Doering <gert@greenie.muc.de> |
||
|---|---|---|
| .. | ||
| cppcheck-suppression | ||
| gen-release-tarballs.sh | ||
| gerrit-send-mail.py | ||
| git-pre-commit-format.sh | ||
| openvpn-cppcheck-library.cfg | ||
| run-cppcheck.sh | ||
| update-copyright.sh | ||