{"id":15037140,"url":"https://github.com/qihoo360/safe-rules","last_synced_at":"2025-05-14T07:08:15.687Z","repository":{"id":40996999,"uuid":"421742003","full_name":"Qihoo360/safe-rules","owner":"Qihoo360","description":"详细的C/C++编程规范指南，由360质量工程部编著，适用于桌面、服务端及嵌入式软件系统。","archived":false,"fork":false,"pushed_at":"2024-10-19T05:07:17.000Z","size":7366,"stargazers_count":2602,"open_issues_count":6,"forks_count":302,"subscribers_count":32,"default_branch":"main","last_synced_at":"2025-04-09T21:12:22.575Z","etag":null,"topics":["code-quality","guidelines","safe","security"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qihoo360.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-27T08:45:38.000Z","updated_at":"2025-04-08T16:24:35.000Z","dependencies_parsed_at":"2024-10-28T02:10:23.604Z","dependency_job_id":"dc988934-fbf1-4645-b090-2b073ca78122","html_url":"https://github.com/Qihoo360/safe-rules","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qihoo360%2Fsafe-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qihoo360%2Fsafe-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qihoo360%2Fsafe-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qihoo360%2Fsafe-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qihoo360","download_url":"https://codeload.github.com/Qihoo360/safe-rules/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092776,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-quality","guidelines","safe","security"],"created_at":"2024-09-24T20:33:35.480Z","updated_at":"2025-05-14T07:08:15.660Z","avatar_url":"https://github.com/Qihoo360.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg width=\"210px\" src=\"main-logo.png\"\u003e\n  \n# 360 安全规则集合\n\n[![Version](https://img.shields.io/badge/v-1.3-blue)](https://github.com/Qihoo360/safe-rules/blob/main/c-cpp-rules.md)\n[![License](https://img.shields.io/badge/license-Apache--2.0-brightgreen)](https://github.com/Qihoo360/safe-rules/blob/main/LICENSE)\n\n\u003c/div\u003e\n\n\u0026emsp;\u0026emsp;  \n\u0026emsp;\u0026emsp;《360 安全规则集合》简称《安规集》，是一套详细的 C/C++ 安全编程指南，由 360 集团质量工程部编著，将编程时需要注意的问题总结成若干规则，可为制定编程规范提供依据，也可为代码审计或相关培训提供指导意见，旨在提升软件产品的可靠性、健壮性、可移植性以及可维护性，从而提升软件产品的综合安全性能。  \n\n\u0026emsp;\u0026emsp;《安规集》适用于桌面、服务端及嵌入式软件系统，提供：  \n\n\u0026emsp;\u0026emsp;\u0026emsp; [`c-cpp-rules.md`](./c-cpp-rules.md)：C/C++ 规则详细说明文档  \n\u0026emsp;\u0026emsp;\u0026emsp; [`c-cpp-rules.json`](./c-cpp-rules.json)：C/C++ 规则结构化文档  \n\u0026emsp;\u0026emsp;\u0026emsp; [`c-ub-list.md`](./c-ub-list.md)：C 未定义行为成因列表  \n\u0026emsp;\u0026emsp;\u0026emsp; [`cpp-ub-list.md`](./cpp-ub-list.md)：C++ 未定义行为成因列表  \n\n\u0026emsp;\u0026emsp;各文档的网页版本请参见： [https://saferules.github.io/](https://saferules.github.io/)  \n\n\u0026emsp;\u0026emsp;传达语言标准，融汇行业标准，积极推广安全编程理念是《安规集》的宗旨。欢迎提供修订意见和扩展建议，由于《安规集》的文档是自动生成的，请不要直接编辑各文档，可在 Issue 区提出意见，管理员录入数据库后会在专门的“[致谢列表](./acknowledgements.md)”中铭记您的贡献。  \n\n\u0026emsp;\u0026emsp;可在 Apache-2.0 协议许可范围内随意传播《安规集》相关内容，也可以适当取舍某些规则以适应自身需求。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqihoo360%2Fsafe-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqihoo360%2Fsafe-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqihoo360%2Fsafe-rules/lists"}