Title: INT07-C. Use only explicitly signed or unsigned char type for numeric values  
Author: Robert Seacord Oct 26, 2006
Last Changed by: Jill Britton Apr 20, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/AtcxBQ
Export As: Word · PDF  
Hierarchy
Parent Page
    Page: Rec. 04. Integers (INT)
Outgoing Links
External Links (10)
    https://support.roguewave.com/documentation/klocwork/en/cur…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://www.mathworks.com/help/bugfinder/ref/certcrec.int07…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/
    cwe.mitre.org/data/definitions/682.html
    https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
    https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
    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 (29)     Page: ECLAIR_V
    Page: RuleChecker
    Page: Axivion Bauhaus Suite_V
    Page: CodeSonar_V
    Page: RuleChecker_V
    Page: Parasoft
    Page: Klocwork
    Page: Klocwork_V
    Page: Rose
    Page: Helix QAC_V
    Page: PC-lint Plus
    Page: Astrée
    Page: CodeSonar
    Page: void FIO34-C. Use int to capture the return value of character IO functions that might be used to check for end of file
    Page: Polyspace Bug Finder_V
    Page: Splint_V
    Page: AA. Bibliography
    Page: STR00-C. Represent characters using an appropriate type
    Page: Parasoft_V
    Page: BB. Definitions
    Page: LDRA_V
    Page: ECLAIR
    Page: LDRA
    Page: Helix QAC
    Page: Splint
    Page: PC-lint Plus_V
    Page: Axivion Bauhaus Suite
    Page: Astrée_V
    Home page: SEI CERT C Coding Standard
SEI CERT C++ Coding Standard (2)     Home page: SEI CERT C++ Coding Standard
    Page: VOID INT07-CPP. Use only explicitly signed or unsigned char type for numeric values