Files
codeql/cpp/ql/test/query-tests/Security/CWE
Paolo Tranquilli c117a1e21f C++: demote VeryLikelyOverrunWrite cast results
There were some false positives where something like

    int x;
    // ...
    sprintf(buff, "%ld", (long)x);

was considered as if the parameter had a non-trivial range analysis only
because the range of `int` is smaller than the range for `long`, without
any non-trivial range analysis actually done on `x`.

These will now be reported by `OverrunWrite` instead.
2022-01-13 11:59:48 +00:00
..
2021-10-28 12:36:36 +01:00
2021-10-28 12:36:36 +01:00
2018-10-19 10:24:29 +01:00
2021-10-08 14:30:27 +01:00
2018-10-02 11:17:23 -07:00
2021-09-13 14:10:17 +01:00

CWE specific security tests

Source from the Juliet Test Suite

Some of the the files in these tests contain source code copied or derived from the public domain "Juliet Test Suite for C/C++" (provided by NIST / SAMATE Team at https://samate.nist.gov/SARD/testsuite.php). Such tests are typically in subdirectories named "SAMATE".