Giters
Qihoo360
/
safe-rules
详细的C/C++编程规范指南,由360质量工程部编著,适用于桌面、服务端及嵌入式软件系统。
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
2161
Watchers:
29
Issues:
51
Forks:
274
Qihoo360/safe-rules Issues
“堆栈”这种用词,经不起推敲,且毫无逻辑,英文也无对应
Updated
11 days ago
Comments count
19
`R14.1` “避免空指针解引用” 空指针的描述可以修改
Updated
14 days ago
Comments count
4
`cpp-ub-list` `55.` 空指针解引用
Updated
3 months ago
Comments count
15
`R3.1.2` “include 指令中禁用不合规的字符”中的建议描述,不妥
Closed
4 months ago
Comments count
2
`R2.1` “不可失去对已分配资源的控制”线程 `detach` 理论上也算失去了控制?
Updated
4 months ago
Comments count
1
`R3.2.8` “不应使用宏定义常量” 中的正确示例可以改进
Updated
4 months ago
Comments count
1
`R2.9` “对象被移动后不应再被使用”描述与规则可以改进
Updated
4 months ago
Comments count
1
`R14.24` “指针运算应使用数组下标的方式” 是否没考虑 `p[0]`、`*p`
Closed
4 months ago
Comments count
8
`SIG_ATOMIC_MIN` 与 `SIG_ATOMIC_MAX` 的问题
Closed
4 months ago
Comments count
1
`R8.41` 中对内联函数的描述不正确
Closed
4 months ago
Comments count
3
“`R6.4.2` 禁用可变参数列表“中使用模板参数包的示例过时且糟糕,应该使用折叠表达式
Closed
4 months ago
Comments count
1
R2.22 存在覆盖不完全的问题
Closed
4 months ago
Comments count
3
`R14.18` 的观点非常值得商榷,且解释并不合理
Closed
4 months ago
Comments count
3
R5.1.21 "存在构造、析构的类" 描述不明确
Closed
4 months ago
Comments count
2
R2.20 windows 无法使用 `alloca.h` 标头
Closed
4 months ago
Comments count
1
`Apache2.0` 开源协议不声明版权所有者吗?
Updated
4 months ago
Comments count
1
R2.15 中 "用 new 分配的数组" 是否考虑改为 "用 new[] 分配的数组"
Closed
5 months ago
Comments count
1
R1.2 中"避免避免敏感数据写入内存转储文件" 多了一个 "避免"
Closed
5 months ago
Comments count
1
修改“空指针”定义
Closed
5 months ago
Comments count
1
C++20 移除了“对有符号整数进行超出取值范围的左移运算”导致的未定义行为
Updated
5 months ago
Comments count
1
C 头文件名不应被视为过时的
Updated
5 months ago
Comments count
2
“replacement new”术语不规范
Closed
5 months ago
递归调用析构函数是UB
Closed
5 months ago
文本编辑错误
Closed
6 months ago
Comments count
1
活捉错别字一只!
Closed
6 months ago
示例代码错误
Closed
6 months ago
`std::exception` should be a virtual base
Closed
9 months ago
Comments count
1
Copy constructors of exceptions shall not throw exceptions
Closed
9 months ago
Comments count
2
非常好的规范,请问下能推荐下能覆盖这些规则的静态检查工具吗?
Closed
9 months ago
Comments count
1
使用 cstdio 而不是 stdio.h 不能保证 POSIX 相容性
Closed
a year ago
Comments count
5
缺少 `signed char`
Closed
a year ago
Comments count
5
变量是个端口或者对应寄存器的话只写入是没问题的
Closed
a year ago
Comments count
3
补充volatile使用场景
Closed
a year ago
Comments count
1
把寄存器赋值给指针在驱动里是正常的
Closed
a year ago
Comments count
1
C++ 中只要有返回值的函数没有从 `return` 返回就是 UB
Closed
a year ago
Comments count
2
示例不一定会产生 UB
Closed
a year ago
Comments count
2
标准容器在 move 掉以后,clear 掉重新利用,应为合理的
Closed
a year ago
Comments count
1
`ptrdiff_t` 对应的是 `%td` 不是 `%zd`
Closed
a year ago
Comments count
1
错别字?
Closed
a year ago
Comments count
1
va_last是什么鬼?
Closed
a year ago
Comments count
2
[笔误] R10.2.11 运算符`~=`
Closed
2 years ago
Comments count
1
R8.16示例参数名称不对?
Closed
2 years ago
Comments count
1
几点疑问
Closed
2 years ago
Comments count
2
R8.30错别字
Closed
2 years ago
Comments count
1
除零规则示例错误
Closed
2 years ago
Comments count
1
有word的吗
Closed
2 years ago
Comments count
2
下载之后点目录没反应
Closed
2 years ago
Comments count
4
目录链接失效
Closed
2 years ago
Comments count
2
部分图标失效
Closed
2 years ago
Comments count
2
刚哥出品,必属精品!
Closed
2 years ago
Comments count
1
Previous
Next