Title: Klocwork_V  
Author: Robert Seacord (Manager) Jun 24, 2010
Last Changed by: Lisa Robertson Jul 05, 2018
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/_9YxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C Coding Standard (92)
    Page: WIN00-C. Be specific when dynamically loading libraries
    Page: DCL20-C. Explicitly specify void when a function accepts no arguments
    Page: DCL37-C. Do not declare or define a reserved identifier
    Page: EXP45-C. Do not perform assignments in selection statements
    Page: EXP34-C. Do not dereference null pointers
    Page: WIN30-C. Properly pair allocation and deallocation functions
    Page: DCL23-C. Guarantee that mutually visible identifiers are unique
    Page: INT09-C. Ensure enumeration constants map to unique values
    Page: MSC37-C. Ensure that control never reaches the end of a non-void function
    Page: POS37-C. Ensure that privilege relinquishment is successful
    Page: ARR01-C. Do not apply the sizeof operator to a pointer when taking the size of an array
    Page: ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
    Page: FIO30-C. Exclude user input from format strings
    Page: INT07-C. Use only explicitly signed or unsigned char type for numeric values
    Page: MSC13-C. Detect and remove unused values
    Page: POS54-C. Detect and handle POSIX library errors
    Page: DCL07-C. Include the appropriate type information in function declarators
    Page: STR02-C. Sanitize data passed to complex subsystems
    Page: EXP46-C. Do not use a bitwise operator with a Boolean-like operand
    Page: ARR00-C. Understand how arrays work
    Page: PRE05-C. Understand macro replacement when concatenating tokens or performing stringification
    Page: INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
    Page: DCL18-C. Do not begin integer constants with 0 when specifying a decimal value
    Page: INT36-C. Converting a pointer to integer or integer to pointer
    Page: POS39-C. Use the correct byte ordering when transferring data between systems
    Page: DCL01-C. Do not reuse variable names in subscopes
    Page: FIO42-C. Close files when they are no longer needed
    Page: ENV33-C. Do not call system()
    Page: FIO02-C. Canonicalize path names originating from tainted sources
    Page: EXP08-C. Ensure pointer arithmetic is used correctly
    Page: PRE01-C. Use parentheses within macros around parameter names
    Page: STR05-C. Use pointers to const when referring to string literals
    Page: EXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic
    Page: PRE00-C. Prefer inline or static functions to function-like macros
    Page: PRE02-C. Macro replacement lists should be parenthesized
    Page: EXP33-C. Do not read uninitialized memory
    Page: FIO47-C. Use valid format strings
    Page: EXP36-C. Do not cast pointers into more strictly aligned pointer types
    Page: DCL36-C. Do not declare an identifier with conflicting linkage classifications
    Page: EXP16-C. Do not compare function pointers to constant values
    Page: POS51-C. Avoid deadlock with POSIX threads by locking in predefined order
    Page: FIO46-C. Do not access a closed file
    Page: MEM30-C. Do not access freed memory
    Page: POS35-C. Avoid race conditions while checking for the existence of a symbolic link
    Page: INT12-C. Do not make assumptions about the type of a plain int bit-field when used in an expression
    Page: POS36-C. Observe correct revocation order while relinquishing privileges
    Page: EXP30-C. Do not depend on the order of evaluation for side effects
    Page: INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
    Page: DCL10-C. Maintain the contract between the writer and caller of variadic functions
    Page: PRE10-C. Wrap multistatement macros in a do-while loop
    Page: ERR34-C. Detect errors when converting a string to a number
    Page: EXP00-C. Use parentheses for precedence of operation
    Page: STR03-C. Do not inadvertently truncate a string
    Page: CON05-C. Do not perform operations that can block while holding a lock
    Page: CON35-C. Avoid deadlock by locking in a predefined order
    Page: PRE06-C. Enclose header files in an include guard
    Page: STR32-C. Do not pass a non-null-terminated character sequence to a library function that expects a string
    Page: Klocwork
    Page: POS52-C. Do not perform operations that can block while holding a POSIX lock
    Page: ARR38-C. Guarantee that library functions do not form invalid pointers
    Page: FIO22-C. Close files before spawning processes
    Page: DCL13-C. Declare function parameters that are pointers to values not changed by the function as const
    Page: ENV01-C. Do not make assumptions about the size of an environment variable
    Page: DCL31-C. Declare identifiers before using them
    Page: FIO45-C. Avoid TOCTOU race conditions while accessing files
    Page: INT04-C. Enforce limits on integer values originating from tainted sources
    Page: EXP19-C. Use braces for the body of an if, for, or while statement
    Page: DCL11-C. Understand the type issues associated with variadic functions
    Page: MEM00-C. Allocate and free memory in the same module, at the same level of abstraction
    Page: MSC07-C. Detect and remove dead code
    Page: FIO34-C. Distinguish between characters read from a file and EOF or WEOF
    Page: INT13-C. Use bitwise operators only on unsigned operands
    Page: MSC12-C. Detect and remove code that has no effect or is never executed
    Page: STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator
    Page: MEM31-C. Free dynamically allocated memory when no longer needed
    Page: MEM12-C. Consider using a goto chain when leaving a function on error when using and releasing resources
    Page: INT02-C. Understand integer conversion rules
    Page: MSC17-C. Finish every set of statements associated with a case label with a break statement
    Page: POS02-C. Follow the principle of least privilege
    Page: EXP12-C. Do not ignore values returned by functions
    Page: FIO01-C. Be careful using functions that use file names for identification
    Page: MEM34-C. Only free memory allocated dynamically
    Page: DCL30-C. Declare objects with appropriate storage durations
    Page: MEM05-C. Avoid large stack allocations
    Page: INT30-C. Ensure that unsigned integer operations do not wrap
    Page: EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators
    Page: DCL39-C. Avoid information leakage when passing a structure across a trust boundary
    Page: EXP37-C. Call functions with the correct number and type of arguments
    Page: EXP15-C. Do not place a semicolon on the same line as an if, for, or while statement
    Page: FLP30-C. Do not use floating-point variables as loop counters
    Page: MSC01-C. Strive for logical completeness
    Page: MEM35-C. Allocate sufficient memory for an object
Hierarchy
Parent Page
    Page: EE. Analyzers
Labels
There are no labels assigned to this page.