[all-commits] [llvm/llvm-project] 315d70: [clang-tidy] Move 'cert-msc51-cpp', 'cert-msc32-c'...
luobochuanqi via All-commits
all-commits at lists.llvm.org
Mon Nov 10 08:47:24 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 315d705b76089dfd29325637f820c2aa0eec0fe3
https://github.com/llvm/llvm-project/commit/315d705b76089dfd29325637f820c2aa0eec0fe3
Author: luobochuanqi <luobochuanqi at qq.com>
Date: 2025-11-10 (Mon, 10 Nov 2025)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
A clang-tools-extra/clang-tidy/bugprone/RandomGeneratorSeedCheck.cpp
A clang-tools-extra/clang-tidy/bugprone/RandomGeneratorSeedCheck.h
M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
M clang-tools-extra/clang-tidy/cert/CMakeLists.txt
R clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
R clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/bugprone/random-generator-seed.rst
M clang-tools-extra/docs/clang-tidy/checks/cert/msc32-c.rst
M clang-tools-extra/docs/clang-tidy/checks/cert/msc51-cpp.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/test/clang-tidy/checkers/bugprone/random-generator-seed.c
A clang-tools-extra/test/clang-tidy/checkers/bugprone/random-generator-seed.cpp
R clang-tools-extra/test/clang-tidy/checkers/cert/msc32-c.c
R clang-tools-extra/test/clang-tidy/checkers/cert/msc51-cpp.cpp
Log Message:
-----------
[clang-tidy] Move 'cert-msc51-cpp', 'cert-msc32-c' checks outside of 'cert' module and give a proper name (#167143)
…'cert' module and give a proper name
Summary:
This change addresses sub-issue #157296 of parent issue #157287, which
aims to clean up the `cert` module by moving checks that don't directly
map to CERT security standards to more appropriate modules.
The checks `cert-msc51-cpp` and `cert-msc32-c` both implement the same
logic to detect random number generators that are not properly seeded.
This is a generic bug pattern rather than a CERT-specific security
constraint, making it more suitable for the `bugprone` module.
Closes: #157296
---------
Co-authored-by: Baranov Victor <bar.victor.2002 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list