Skip to content

Commit 90ad5cf

Browse files
authored
Merge pull request #569 from geoffw0/deprecate-pointsto-debug
CPP: Deprecate the PointsTo debug queries.
2 parents d991fa8 + d261f1b commit 90ad5cf

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

cpp/ql/src/PointsTo/Debug.ql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
* @description Query to help investigate mysterious results with ReturnStackAllocatedObject
44
* @kind table
55
* @id cpp/points-to/debug
6+
* @deprecated
67
*/
8+
9+
// This query is not suitable for production use and has been deprecated.
10+
711
import cpp
812
import semmle.code.cpp.pointsto.PointsTo
913

cpp/ql/src/PointsTo/PreparedStagedPointsTo.ql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
* @description Query to force evaluation of staged points-to predicates
44
* @kind table
55
* @id cpp/points-to/prepared-staged-points-to
6+
* @deprecated
67
*/
78

9+
// This query is not suitable for production use and has been deprecated.
10+
811
import semmle.code.cpp.pointsto.PointsTo
912

1013
select count(int set, Element location | setlocations(set, unresolveElement(location))),

cpp/ql/src/PointsTo/Stats.ql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
* @description Count the number points-to sets with 0 or 1 incoming flow edges, and the total number of points-to sets
44
* @kind table
55
* @id cpp/points-to/stats
6+
* @deprecated
67
*/
8+
9+
// This query is not suitable for production use and has been deprecated.
10+
711
import cpp
812
import semmle.code.cpp.pointsto.PointsTo
913

cpp/ql/src/PointsTo/TaintedFormatStrings.ql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
* @name Taint test
33
* @kind table
44
* @id cpp/points-to/tainted-format-strings
5+
* @deprecated
56
*/
7+
8+
// This query is not suitable for production use and has been deprecated.
9+
610
import cpp
711
import semmle.code.cpp.pointsto.PointsTo
812
import semmle.code.cpp.pointsto.CallGraph

0 commit comments

Comments
 (0)