mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
1.9 KiB
1.9 KiB
2.0.0
Breaking Changes
- Deleted many deprecated taint-tracking configurations based on
TaintTracking::Configuration. - Deleted many deprecated dataflow configurations based on
DataFlow::Configuration. - Deleted the deprecated
hasQualifiedNameandisDefinedpredicates from theDeclarationclass, usehasGlobalNameandhasDefinitionrespectively instead. - Deleted the
getFullSignaturepredicate from theFunctionclass, usegetIdentityString(Declaration)fromsemmle.code.cpp.Printinstead. - Deleted the deprecated
freeCallpredicate fromAlloc.qll. UseDeallocationExprinstead. - Deleted the deprecated
explorationLimitpredicate fromDataFlow::Configuration, useFlowExploration<explorationLimit>instead. - Deleted the deprecated
getFieldExprpredicate fromClassAggregateLiteral, usegetAFieldExprinstead. - Deleted the deprecated
getElementExprpredicate fromArrayOrVectorAggregateLiteral, usegetAnElementExprinstead.
New Features
- Added a class
C11GenericExprto represent C11 generic selection expressions. The generic selection is represented as aConversionon the expression that will be selected. - Added subclasses of
BuiltInOperationsfor the__is_scoped_enum,__is_trivially_equality_comparable, and__is_trivially_relocatablebuiltin operations. - Added a subclass of
Exprfor__datasizeofexpressions.
Minor Analysis Improvements
- Added a data flow model for
swapmember functions, which were previously modeled as taint tracking functions. This change improves the precision of queries where flow throughswapmember functions might affect the results. - Added a data flow model for
realloc-like functions, which were previously modeled as a taint tracking functions. This change improves the precision of queries where flow throughrealloc-like functions might affect the results.