Chapter 5. Integers (INT)

Recommendations and Rules

images

Risk Assessment Summary

images

Related Rules and Recommendations

images

INT00-C. Understand the data model used by your implementation(s)

A data model defines the sizes assigned to standard data types. It is important to understand the data models used by your implementation; see Table 5–1. However, if your code depends on any assumptions not guaranteed by the standard, you should provide static assertions (see ...

Get The CERT® C Secure Coding Standard now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.