mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
CPP: Similarly update other @deprecated messages.
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
* @id cpp/non-virtual-destructor
|
||||
* @problem.severity warning
|
||||
* @tags reliability
|
||||
* @deprecated
|
||||
* @deprecated This query is deprecated, and replaced by
|
||||
* jsf/4.10 Classes/AV Rule 78.ql, which has far fewer false
|
||||
* positives on typical code.
|
||||
*/
|
||||
|
||||
// This query is deprecated, and replaced by jsf/4.10 Classes/AV Rule 78.ql, which has far fewer false positives on typical code.
|
||||
|
||||
import cpp
|
||||
|
||||
from Class base, Destructor d1, Class derived, Destructor d2
|
||||
|
||||
@@ -3,11 +3,9 @@
|
||||
* @description Query to help investigate mysterious results with ReturnStackAllocatedObject
|
||||
* @kind table
|
||||
* @id cpp/points-to/debug
|
||||
* @deprecated
|
||||
* @deprecated This query is not suitable for production use and has been deprecated.
|
||||
*/
|
||||
|
||||
// This query is not suitable for production use and has been deprecated.
|
||||
|
||||
import cpp
|
||||
import semmle.code.cpp.pointsto.PointsTo
|
||||
|
||||
|
||||
@@ -3,11 +3,9 @@
|
||||
* @description Query to force evaluation of staged points-to predicates
|
||||
* @kind table
|
||||
* @id cpp/points-to/prepared-staged-points-to
|
||||
* @deprecated
|
||||
* @deprecated This query is not suitable for production use and has been 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,11 +3,9 @@
|
||||
* @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
|
||||
* @deprecated This query is not suitable for production use and has been deprecated.
|
||||
*/
|
||||
|
||||
// This query is not suitable for production use and has been deprecated.
|
||||
|
||||
import cpp
|
||||
import semmle.code.cpp.pointsto.PointsTo
|
||||
|
||||
|
||||
@@ -2,11 +2,9 @@
|
||||
* @name Taint test
|
||||
* @kind table
|
||||
* @id cpp/points-to/tainted-format-strings
|
||||
* @deprecated
|
||||
* @deprecated This query is not suitable for production use and has been 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