Prevent C checkers | CERT C Secure Coding Standard |
---|
BAD_COMPARE | |
BAD_FREE | |
CHAR_IO | FIO34-C. Use int to capture the return value of character IO functions |
CHECKED_RETURN | FIO33-C. Detect and handle input output errors resulting in undefined behavior |
DEADCODE | |
FORWARD_NULL | |
MISSING_RETURN | |
NEGATIVE_RETURNS | INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data |
NO_EFFECT | No equivalent |
NULL_RETURNS | |
OVERRUN_STATIC | STR34-C. Do not copy data from an unbounded source to a fixed-length array |
OVERRUN_DYNAMIC | STR34-C. Do not copy data from an unbounded source to a fixed-length array |
RESOURCE_LEAK | |
RETURN_LOCAL | |
REVERSE_INULL | |
REVERSE_NEGATIVE | INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data |
SIZECHECK | No equivalent |
STACK_USE | |
UNINIT | |
UNUSED_VALUE | No equivalent |
USE_AFTER_FREE | |
VARARGS | No equivalent |
Concurrency Checkers | CERT C Secure Coding Standard |
---|---|
LOCK | [] |
ORDER_REVERSAL | [] |
SLEEP | [] |
Security checkers | CERT C Secure Coding Standard |
---|---|
BUFFER_SIZE | STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator, ARR33-C. Guarantee that copies are made into storage of sufficient size |
CHROOT | Out of scope |
OPEN_ARGS | FIO03-A. Do not make assumptions about fopen() and file creation |
READLINK | |
SECURE_CODING | STR34-C. Do not copy data from an unbounded source to a fixed-length array, others? |
SECURE_TEMP | TMP30-C. Temporary file name generators must create unique file names, TMP31-C. Temporary files must have an unpredictable name, TMP32-C. Temporary files must be opened with exclusive access, TMP33-C. Temporary files must be removed before the program exits, TMPxx-C. Temporary file names must be unique when the file is created |
STRING_OVERFLOW | [] |
STRING_NULL | [] |
STRING_SIZE | [] |
TAINTED_SCALAR | [] |
TAINTED_STRING | [] |
TOCTOU | [] |
USER_POINTER | [] |
Coverage checkers | CERT C Secure Coding Standard |
---|---|
UNIMPL_FUNCTIONS | [][No equivalent |