mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Merge pull request #569 from geoffw0/deprecate-pointsto-debug
CPP: Deprecate the PointsTo debug queries.
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
* @description Query to help investigate mysterious results with ReturnStackAllocatedObject
|
||||
* @kind table
|
||||
* @id cpp/points-to/debug
|
||||
* @deprecated
|
||||
*/
|
||||
|
||||
// This query is not suitable for production use and has been deprecated.
|
||||
|
||||
import cpp
|
||||
import semmle.code.cpp.pointsto.PointsTo
|
||||
|
||||
|
||||
@@ -3,8 +3,11 @@
|
||||
* @description Query to force evaluation of staged points-to predicates
|
||||
* @kind table
|
||||
* @id cpp/points-to/prepared-staged-points-to
|
||||
* @deprecated
|
||||
*/
|
||||
|
||||
// This query is not suitable for production use and has been deprecated.
|
||||
|
||||
import semmle.code.cpp.pointsto.PointsTo
|
||||
|
||||
select count(int set, Element location | setlocations(set, unresolveElement(location))),
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
* @description Count the number points-to sets with 0 or 1 incoming flow edges, and the total number of points-to sets
|
||||
* @kind table
|
||||
* @id cpp/points-to/stats
|
||||
* @deprecated
|
||||
*/
|
||||
|
||||
// This query is not suitable for production use and has been deprecated.
|
||||
|
||||
import cpp
|
||||
import semmle.code.cpp.pointsto.PointsTo
|
||||
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
* @name Taint test
|
||||
* @kind table
|
||||
* @id cpp/points-to/tainted-format-strings
|
||||
* @deprecated
|
||||
*/
|
||||
|
||||
// This query is not suitable for production use and has been deprecated.
|
||||
|
||||
import cpp
|
||||
import semmle.code.cpp.pointsto.PointsTo
|
||||
import semmle.code.cpp.pointsto.CallGraph
|
||||
|
||||
Reference in New Issue
Block a user