Phổ biến: Dữ liệu cập nhật ngày 27 tháng 10, 2026

Danh mục

Internet1.356
Liên lạc321
Âm thanh và video898
Đồ họa và thiết kế539
Văn phòng1.124
Công cụ lập trình3.134
Công cụ AI529
Bảo mật và quyền riêng tư385
Công cụ hệ thống3.114
Game523
Giáo dục và khoa học239
Mạng và IT284

Tải Cppcheck 2.21.0 cho Windows

Cppcheck is a static analysis tool for C/C++ code.

Đây là phiên bản cũ. Phiên bản mới nhất là 2.22.0. Cppcheck 2.22.0 · Ngày phát hành:

Tệp cài đặt 2.21.0

Kiến trúcLoạiPhạm viDung lượngTải vềSHA256
64-bit MSI Tất cả người dùng — github.com VirusTotal

Liên kết và mã SHA256 lấy từ manifest cộng đồng của Windows Package Manager. Hãy so sánh mã băm của tệp đã tải trước khi chạy.

Ghi chú phát hành

Release Notes for Cppcheck 2.21
Major bug fixes & crashes:
- Fixed potential crash with incomplete preprocessor directive
- Fixed hang in createAst
- Fixed invalid AST for braced initialization and references/pointers
- Fixed cppcheckError with array typedef
- Fixed recheck which now correctly excludes non selected files
- Fixed potential crash when rechecking files in gui
New checks:
- MISRA C 2012 rule 10.3 now warns on assigning integer literals 0 and 1 to bool in C99 and later while preserving the existing C89 behavior.
- funcArgNamesDifferentUnnamed warns on function declarations/definitions where a parameter in either location is unnamed
- uninitMemberVarNoCtor warns on user-defined types where (1) some but not all members requiring initialization have in-class initializers or (2) there is a mixture of members which do/do not require initialization.
- fcloseInLoopCondition warns when fclose() is used as a while loop condition, which may skip the loop body or double-close the file handle.
C/C++ support:
- import project: include path in compile_commands.json now handled correctly
GUI:
- Removed handling of Cppcheck Premium LOC license
Other:
- Make it possible to specify the regular expression engine using the engine element in a rule XML.
- Added CLI option --exitcode-suppress to specify an error ID which should not result in a non-zero exitcode.
- Moved source code from https://github.com/danmar/cppcheck to https://github.com/cppcheck-opensource/cppcheck
- The official Windows binary is now built with Visual Studio 2026.
- Updated simplecpp to 1.7.0.

https://github.com/cppcheck-opensource/cppcheck/releases/tag/2.21.0