Skip to content

Commit bd8ed1d

Browse files
committed
cpp: revert two cpp dataflow deprecations that take more work
1 parent 34f5f61 commit bd8ed1d

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/DataFlow.qll

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,16 @@
1818
*/
1919

2020
import cpp
21+
22+
/**
23+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.DataFlow` instead.
24+
*
25+
* Provides classes for performing local (intra-procedural) and
26+
* global (inter-procedural) data flow analyses.
27+
*/
28+
deprecated module DataFlow {
29+
private import semmle.code.cpp.dataflow.internal.DataFlowImplSpecific
30+
private import codeql.dataflow.DataFlow
31+
import DataFlowMake<Location, CppOldDataFlow>
32+
import Public
33+
}

cpp/ql/lib/semmle/code/cpp/dataflow/TaintTracking.qll

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,17 @@
1616
*/
1717

1818
import semmle.code.cpp.dataflow.DataFlow
19+
20+
/**
21+
* DEPRECATED: Use `semmle.code.cpp.dataflow.new.TaintTracking` instead.
22+
*
23+
* Provides classes for performing local (intra-procedural) and
24+
* global (inter-procedural) taint-tracking analyses.
25+
*/
26+
deprecated module TaintTracking {
27+
import semmle.code.cpp.dataflow.internal.TaintTrackingUtil
28+
private import semmle.code.cpp.dataflow.internal.DataFlowImplSpecific
29+
private import semmle.code.cpp.dataflow.internal.TaintTrackingImplSpecific
30+
private import codeql.dataflow.TaintTracking
31+
import TaintFlowMake<Location, CppOldDataFlow, CppOldTaintTracking>
32+
}

0 commit comments

Comments
 (0)