mirror of
https://github.com/github/codeql.git
synced 2026-05-25 08:37:20 +02:00
* Adding tests and updated expected file with false positives to correct. (cherry picked from commit26e58532ee) * Modifications to the query to address false positives. (cherry picked from commitcc24f1ed9f) * Updating expected file, false positives now resolved. (cherry picked from commit92c8d39ba3) * Correct comment. (cherry picked from commit338ab96593) * Changing from hasIntermediateType to getABaseType. (cherry picked from commitc4737c7fbb) * Switching to looking for explicit declaration of unsigned char, to avoid cases where unsigned char is the default char width for `char`. (cherry picked from commit51e787b316) * Altering ordering for exists statement to be clearer. (cherry picked from commit31324fc778) * Altering exists predicate ordering to be clearer. (cherry picked from commitc91f7f4918) * Changing name of predicate to be clearer, and removing an unused parameter. (cherry picked from commit318e75c094) * Removing unnecessary bracket/singleton set literal. (cherry picked from commit162519185d) * Formatting. (cherry picked from commitc496503053)
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".