)]}'
{
  "commit": "315d705b76089dfd29325637f820c2aa0eec0fe3",
  "tree": "f2fb5ebe920223eb5e8504ac63475aa61e68af2f",
  "parents": [
    "bb0bd382ab2ba6d8859106b3b347bc9e7e4dd976"
  ],
  "author": {
    "name": "luobochuanqi",
    "email": "luobochuanqi@qq.com",
    "time": "Tue Nov 11 00:47:01 2025 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 10 19:47:01 2025 +0300"
  },
  "message": "[clang-tidy] Move \u0027cert-msc51-cpp\u0027, \u0027cert-msc32-c\u0027 checks outside of \u0027cert\u0027 module and give a proper name (#167143)\n\n…\u0027cert\u0027 module and give a proper name\n\nSummary:\nThis change addresses sub-issue #157296 of parent issue #157287, which\naims to clean up the `cert` module by moving checks that don\u0027t directly\nmap to CERT security standards to more appropriate modules.\n\nThe checks `cert-msc51-cpp` and `cert-msc32-c` both implement the same\nlogic to detect random number generators that are not properly seeded.\nThis is a generic bug pattern rather than a CERT-specific security\nconstraint, making it more suitable for the `bugprone` module.\n\nCloses: #157296\n\n---------\n\nCo-authored-by: Baranov Victor \u003cbar.victor.2002@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3ba1532334e4a9a2ffa20c8bfc27475b4494a1ed",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp",
      "new_id": "6859dc97c112a011eb5ece6129315722c9a11681",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp"
    },
    {
      "type": "modify",
      "old_id": "49c467aa5090c3768caf99a7e6b76e42ad25d419",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt",
      "new_id": "db1256d91d311f9816450336dcddd6e9c11d50b7",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt"
    },
    {
      "type": "rename",
      "old_id": "b8bca7286ce690b72dd422450370ad7d0c627203",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp",
      "new_id": "3e32e9b8a704cde4be558994bf730f279e33ae9b",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/bugprone/RandomGeneratorSeedCheck.cpp",
      "score": 83
    },
    {
      "type": "rename",
      "old_id": "8cb2e624e050107917cb333ecb7595ba61cee40d",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h",
      "new_id": "c9c54eaa14000b205ad94b39f511964545accd9d",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/bugprone/RandomGeneratorSeedCheck.h",
      "score": 66
    },
    {
      "type": "modify",
      "old_id": "6dbcecee1e023d7861a3adf77e7d08a66f2a59bf",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp",
      "new_id": "f46dd4cc6195afb312e90451ccd665a65bcdb8ae",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp"
    },
    {
      "type": "modify",
      "old_id": "81015a02023ba7c2a9e4f156f93622454b5c4c2d",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/clang-tidy/cert/CMakeLists.txt",
      "new_id": "0ed903c4826a3ca0d7304b1fba6a8d7cb31ebc30",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/clang-tidy/cert/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "f3d5b6f43a227e3a8d67159454b3135553b070d4",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/docs/ReleaseNotes.rst",
      "new_id": "2628a26acdf5e9667b8d661f70f2ffc1b92d5be6",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/docs/ReleaseNotes.rst"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "25712447f7897cec1adb48aff35d74eeddbb021e",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/docs/clang-tidy/checks/bugprone/random-generator-seed.rst"
    },
    {
      "type": "modify",
      "old_id": "6e453edefa76e6088b9291e147339dcffdc2f06c",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/docs/clang-tidy/checks/cert/msc32-c.rst",
      "new_id": "e0ed8074185caea91b487fcf831fe195190c6026",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/docs/clang-tidy/checks/cert/msc32-c.rst"
    },
    {
      "type": "modify",
      "old_id": "99e550aef0e7a2096e4943722297d5f0f511eec5",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/docs/clang-tidy/checks/cert/msc51-cpp.rst",
      "new_id": "a9b8672091bc64c3abed038272c3b5f7213855d1",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/docs/clang-tidy/checks/cert/msc51-cpp.rst"
    },
    {
      "type": "modify",
      "old_id": "3b0ff3ef333658a16f6ed0be65e99a4a8f0963af",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/docs/clang-tidy/checks/list.rst",
      "new_id": "a4014b5f15f0b8f6b37cbfa85df9af946af66934",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/docs/clang-tidy/checks/list.rst"
    },
    {
      "type": "rename",
      "old_id": "0a1d79b4d916bb43955638e5c7d3d205cbf319be",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/test/clang-tidy/checkers/cert/msc32-c.c",
      "new_id": "7f2a0685e4a2e98a5cdeca7530f708aacd21c0a9",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/test/clang-tidy/checkers/bugprone/random-generator-seed.c",
      "score": 66
    },
    {
      "type": "rename",
      "old_id": "637ba58688abef172c678b3c04850995ac29353a",
      "old_mode": 33188,
      "old_path": "clang-tools-extra/test/clang-tidy/checkers/cert/msc51-cpp.cpp",
      "new_id": "c8818d67707998bd34528c2ba939517196a468ff",
      "new_mode": 33188,
      "new_path": "clang-tools-extra/test/clang-tidy/checkers/bugprone/random-generator-seed.cpp",
      "score": 76
    }
  ]
}
