File tree Expand file tree Collapse file tree
cpp/ql/lib/semmle/code/cpp/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/**
22 * Provides classes for heuristically identifying variables and functions that
3- * might contain or return a password or other sensitive information.
3+ * might contain or return a password or other credential.
4+ *
5+ * This library is not concerned with other kinds of sensitive private
6+ * information. See `PrivateData.qll` for expressions related to that.
47 */
58
69import cpp
710
811/**
912 * Holds if the name `s` suggests something might contain or return a password
10- * or other sensitive information .
13+ * or other credential .
1114 */
1215bindingset [ s]
1316private predicate suspicious ( string s ) {
@@ -16,7 +19,7 @@ private predicate suspicious(string s) {
1619}
1720
1821/**
19- * A variable that might contain a password or other sensitive information .
22+ * A variable that might contain a password or other credential .
2023 */
2124class SensitiveVariable extends Variable {
2225 SensitiveVariable ( ) {
@@ -26,7 +29,7 @@ class SensitiveVariable extends Variable {
2629}
2730
2831/**
29- * A function that might return a password or other sensitive information .
32+ * A function that might return a password or other credential .
3033 */
3134class SensitiveFunction extends Function {
3235 SensitiveFunction ( ) {
@@ -36,7 +39,7 @@ class SensitiveFunction extends Function {
3639}
3740
3841/**
39- * An expression whose value might be a password or other sensitive information .
42+ * An expression whose value might be a password or other credential .
4043 */
4144class SensitiveExpr extends Expr {
4245 SensitiveExpr ( ) {
You can’t perform that action at this time.
0 commit comments