Skip to content

Commit 1829060

Browse files
committed
Merge remote-tracking branch 'origin/main' into smowton/admin/merge-rc319-into-main
2 parents 238cb9c + 7a4bc80 commit 1829060

File tree

60 files changed

+1101
-568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1101
-568
lines changed

cpp/ql/lib/Customizations.qll

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/**
2+
* Contains customizations to the standard library.
3+
*
4+
* This module is imported by `cpp.qll`, so any customizations defined here automatically
5+
* apply to all queries.
6+
*
7+
* Typical examples of customizations include adding new subclasses of abstract classes such as
8+
* the `RemoteFlowSource` class to model frameworks that are not covered by the standard library.
9+
*/
10+
11+
import cpp
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The new dataflow/taint-tracking library (`semmle.code.cpp.dataflow.new.DataFlow` and `semmle.code.cpp.dataflow.new.TaintTracking`) now resolves virtual function calls more precisely. This results in fewer false positives when running dataflow/taint-tracking queries on C++ projects.

cpp/ql/lib/cpp.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* https://github.com/cplusplus/draft/raw/master/papers/n4140.pdf
1414
*/
1515

16+
import Customizations
1617
import semmle.code.cpp.File
1718
import semmle.code.cpp.Linkage
1819
import semmle.code.cpp.Location

0 commit comments

Comments
 (0)