Title: GCC  
Author: Astha Singhal Feb 10, 2012
Last Changed by: David Svoboda Sep 27, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/gdUxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C Coding Standard (22)
    Page: EXP13-C. Treat relational and equality operators as if they were nonassociative
    Page: PRE07-C. Avoid using repeated question marks
    Page: EXP45-C. Do not perform assignments in selection statements
    Page: EXP36-C. Do not cast pointers into more strictly aligned pointer types
    Page: FIO30-C. Exclude user input from format strings
    Page: MSC07-C. Detect and remove dead code
    Page: DCL31-C. Declare identifiers before using them
    Page: EXP05-C. Do not cast away a const qualification
    Page: STR05-C. Use pointers to const when referring to string literals
    Page: DCL36-C. Do not declare an identifier with conflicting linkage classifications
    Page: EXP30-C. Do not depend on the order of evaluation for side effects
    Page: EXP32-C. Do not access a volatile object through a nonvolatile reference
    Page: EXP33-C. Do not read uninitialized memory
    Page: DCL11-C. Understand the type issues associated with variadic functions
    Page: MSC04-C. Use comments consistently and in a readable fashion
    Page: STR34-C. Cast characters to unsigned char before converting to larger integer sizes
    Page: EXP37-C. Call functions with the correct number and type of arguments
    Page: FIO47-C. Use valid format strings
    Page: EXP16-C. Do not compare function pointers to constant values
    Page: MSC01-C. Strive for logical completeness
    Page: DCL07-C. Include the appropriate type information in function declarators
    Page: MSC12-C. Detect and remove code that has no effect or is never executed
Hierarchy
Parent Page
    Page: EE. Analyzers
Labels
Global Labels (1)
Outgoing Links
External Links (29)
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Option…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX163
    gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX161
    https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#ind…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX139
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C Coding Standard (1)     Page: GCC_V