rspec/rules/S1314/cfamily/rule.adoc

14 lines
637 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
include::../noncompliant.adoc[]
include::../compliant.adoc[]
== See
* MISRA C:2004, 7.1 - Octal constants (other than zero) and octal escape sequences shall not be used.
* MISRA C++:2008, 2-13-2 - Octal constants (other than zero) and octal escape sequences (other than "\0") shall not be used
* MISRA C:2012, 7.1 - Octal constants shall not be used
* https://www.securecoding.cert.org/confluence/x/_QC7AQ[CERT, DCL18-C.] - Do not begin integer constants with 0 when specifying a decimal value
* https://www.securecoding.cert.org/confluence/x/hYClBg[CERT, DCL50-J.] - Use visually distinct identifiers