mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
1.0 KiB
1.0 KiB
1.2.0
New Features
- The syntax for models-as-data rows has been extended to make it easier to select sources, sinks, and summaries that involve templated functions and classes. Additionally, the syntax has also been extended to make it easier to specify models with arbitrary levels of indirection. See
dataflow/ExternalFlow.qllfor the updated documentation and specification for the model format. - It is now possible to extend the classes
AllocationFunctionandDeallocationFunctionvia data extensions. Extensions of these classes should be added to thelib/ext/allocationandlib/ext/deallocationdirectories respectively.
Minor Analysis Improvements
- The queries "Potential double free" (
cpp/double-free) and "Potential use after free" (cpp/use-after-free) now produce fewer false positives. - The "Guards" library (
semmle.code.cpp.controlflow.Guards) now also infers guards from calls to the builtin operation__builtin_expect. As a result, some queries may produce fewer false positives.