Title: DCL06-C. Use meaningful symbolic constants to represent literal values  
Author: - Apr 26, 2007
Last Changed by: David Svoboda May 19, 2025
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/AtYxBQ
Export As: Word · PDF  
Hierarchy
Outgoing Links
External Links (9)
    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…
    cwe.mitre.org/
    www.doc.ic.ac.uk/lab/cplus/c++.rules/chap10.html
    c-faq.com/cpp/constvsdefine.html
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    cwe.mitre.org/data/definitions/547.html
    https://www.mathworks.com/help/bugfinder/ref/certcrec.dcl06…
SEI CERT C Coding Standard (24)     Page: Parasoft_V
    Page: Axivion Bauhaus Suite
    Page: Klocwork_V
    Page: AA. Bibliography
    Page: Polyspace Bug Finder_V
    Page: LDRA
    Page: FLP32-C. Prevent or detect domain and range errors in math functions
    Page: CodeSonar
    Page: LDRA_V
    Page: Klocwork
    Page: Rose
    Page: CodeSonar_V
    Page: Parasoft
    Page: DCL00-C. Const-qualify immutable objects
    Page: Axivion Bauhaus Suite_V
    Page: ECLAIR_V
    Page: ARR01-C. Do not apply the sizeof operator to a pointer when taking the size of an array
    Page: ECLAIR
    Page: Polyspace Bug Finder
    Page: Helix QAC_V
    Page: Helix QAC
    Home page: SEI CERT C Coding Standard
    Page: BB. Definitions
    Page: EXP09-C. Use sizeof to determine the size of a type or variable
SEI CERT C++ Coding Standard (2)     Home page: SEI CERT C++ Coding Standard
    Page: VOID DCL06-CPP. Use meaningful symbolic constants to represent literal values in program logic