mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
1.6 KiB
1.6 KiB
7.1.0
New Features
- Added a subclass
EmbedofPreprocessorDirectivefor C23 and C++26#embedpreprocessor directives. - Added modules
DataFlow::ParameterizedBarrierGuardandDataFlow::ParameterizedInstructionBarrierGuard. These modules provide the same features asDataFlow::BarrierGuardandDataFlow::InstructionBarrierGuard, but allow for an additional parameter to support properly using them in dataflow configurations that uses flow states.
Minor Analysis Improvements
- The
Buffer.qlllibrary will no longer report incorrect buffer sizes on certain malformed databases. As a result, the queriescpp/static-buffer-overflow,cpp/overflow-buffer,cpp/badly-bounded-write,cpp/overrunning-write,cpp/overrunning-write-with-float, andcpp/very-likely-overrunning-writewill report fewer false positives on such databases. - Added
taintsummary models andsql-injectionbarrier models for the MySQLmysql_real_escape_stringandmysql_real_escape_string_quoteescaping functions. - The predicate
SummarizedCallable.propagatesFlowhas been extended with the columnsProvenance pandboolean isExact, and as a consequence the predicatesSummarizedCallable.hasProvenanceandSummarizedCallable.hasExactModelhave been removed.
Bug Fixes
- Fixed a bug in the
GuardConditionlibrary which sometimes prevented binary logical operators from being recognized as guard conditions. As a result, queries usingGuardConditionmay see improved results. - Fixed a bug which caused
Node.asDefinition()to not have a result for certain assignments.