Skip to content

Commit 9c8a51b

Browse files
committed
cache SensitiveExpr
1 parent 038438e commit 9c8a51b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

javascript/ql/lib/semmle/javascript/security/SensitiveActions.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ import semmle.javascript.security.internal.SensitiveDataHeuristics
1414
private import HeuristicNames
1515

1616
/** An expression that might contain sensitive data. */
17+
cached
1718
abstract class SensitiveExpr extends Expr {
1819
/** Gets a human-readable description of this expression for use in alert messages. */
20+
cached
1921
abstract string describe();
2022

2123
/** Gets a classification of the kind of sensitive data this expression might contain. */
24+
cached
2225
abstract SensitiveDataClassification getClassification();
2326
}
2427

0 commit comments

Comments
 (0)