File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rust/ql/lib/codeql/rust/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ private class SensitiveVariableAccess exten
99CE
ds SensitiveData {
50
50
51
51
SensitiveVariableAccess ( ) {
52
52
HeuristicNames:: nameIndicatesSensitiveData ( this .asExpr ( )
53
- .getAstNode ( )
53
+ .getExpr ( )
54
54
.( VariableAccess )
55
55
.getVariable ( )
56
56
.( Variable )
@@ -69,7 +69,7 @@ private class SensitiveFieldAccess extends SensitiveData {
69
69
SensitiveDataClassification classification ;
70
70
71
71
SensitiveFieldAccess ( ) {
72
- exists ( FieldExpr fe | fieldExprParentField * ( fe ) = this .asExpr ( ) .getAstNode ( ) |
72
+ exists ( FieldExpr fe | fieldExprParentField * ( fe ) = this .asExpr ( ) .getExpr ( ) |
73
73
HeuristicNames:: nameIndicatesSensitiveData ( fe .getIdentifier ( ) .getText ( ) , classification )
74
74
)
75
75
}
You can’t perform that action at this time.
0 commit comments