Title: EXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic  
Author: Robert Seacord Oct 10, 2006
Last Changed by: Jon O'Donnell Dec 07, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/_NYxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C++ Coding Standard (1)
    Page: EXP52-CPP. Do not rely on side effects in unevaluated operands
SEI CERT C Coding Standard (2)
    Page: PRE31-C. Avoid side effects in arguments to unsafe macros
    Page: DD. Unspecified Behavior
Hierarchy
Parent Page
    Page: Rule 03. Expressions (EXP)
Outgoing Links
External Links (11)
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/EXP52…
    https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://pvs-studio.com/en/docs/warnings/v568/
    https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
    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://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://www.mathworks.com/help/bugfinder/ref/certcruleexp44…
SEI CERT C Coding Standard (31)     Page: CodeSonar
    Page: PC-lint Plus_V
    Page: Polyspace Bug Finder_V
    Page: Helix QAC_V
    Page: ECLAIR
    Page: Parasoft_V
    Page: Clang
    Page: Clang_V
    Page: PVS-Studio_V
    Page: DD. Unspecified Behavior
    Page: LDRA_V
    Page: PC-lint Plus
    Page: Rose
    Page: Astrée
    Page: Coverity
    Page: Coverity_V
    Page: Parasoft
    Page: CodeSonar_V
    Page: PRE31-C. Avoid side effects in arguments to unsafe macros
    Page: RuleChecker
    Page: Axivion Bauhaus Suite_V
    Page: Klocwork
    Page: RuleChecker_V
    Page: LDRA
    Page: Klocwork_V
    Page: ECLAIR_V
    Page: Axivion Bauhaus Suite
    Page: BB. Definitions
    Page: Astrée_V
    Home page: SEI CERT C Coding Standard
    Page: Helix QAC