CPP: Replace query paths with @name and @id.

This commit is contained in:
Geoffrey White
2019-09-02 12:36:36 +01:00
parent b254e1f48e
commit c4d74c3922
4 changed files with 9 additions and 6 deletions

View File

@@ -8,7 +8,8 @@
* @tags reliability
* japanese-era
* @deprecated This query is deprecated, use
* Best Practices/Magic Constants/JapaneseEraDate.ql instead.
* Hard-coded Japanese era start date (`cpp/japanese-era/exact-era-date`)
* instead.
*/
import cpp

View File

@@ -8,7 +8,8 @@
* @tags reliability
* japanese-era
* @deprecated This query is deprecated, use
* Best Practices/Magic Constants/JapaneseEraDate.ql instead.
* Hard-coded Japanese era start date (`cpp/japanese-era/exact-era-date`)
* instead.
*/
import cpp

View File

@@ -10,8 +10,9 @@
* security
* external/cwe/cwe-676
* @deprecated This query is deprecated, use
* Security/CWE/CWE-120/OverrunWrite.ql and
* Security/CWE/CWE-120/OverrunWriteFloat.ql instead.
* Potentially overrunning write (`cpp/overrunning-write`) and
* Potentially overrunning write with float to string conversion
* (`cpp/overrunning-write-with-float) instead.
*/
import cpp
import semmle.code.cpp.commons.Buffer

View File

@@ -8,8 +8,8 @@
* @problem.severity warning
* @tags reliability
* @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.
* No virtual destructor (`cpp/jsf/av-rule-78`), which has far
* fewer false positives on typical code.
*/
import cpp