[Book Review] The CERT C Coding Standard, 2nd Edition
“The CERT C Coding Standard, 2nd Edition” covers many details of the C programming language and how to fix or mitigate their unfortunate side-effects with a focus on C11.
It can be instrumental for any serious C project and would be a good baseline in greenfield scenarios where other criteria and measures are enforced for better results.
What makes this book more useful is that it has both compliant and non-compliant examples for almost all of its rules.
The book only covers the rules, and the recommendations are only available on the web and can be argued to be more critical because wrong approaches inevitably lead to undesired results regardless of how many rules are used.