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 extends SensitiveData {
5050
5151 SensitiveVariableAccess ( ) {
5252 HeuristicNames:: nameIndicatesSensitiveData ( this .asExpr ( )
53- .getAstNode ( )
53+ .getExpr ( )
5454 .( VariableAccess )
5555 .getVariable ( )
5656 .( Variable )
@@ -69,7 +69,7 @@ private class SensitiveFieldAccess extends SensitiveData {
6969 SensitiveDataClassification classification ;
7070
7171 SensitiveFieldAccess ( ) {
72- exists ( FieldExpr fe | fieldExprParentField * ( fe ) = this .asExpr ( ) .getAstNode ( ) |
72+ exists ( FieldExpr fe | fieldExprParentField * ( fe ) = this .asExpr ( ) .getExpr ( ) |
7373 HeuristicNames:: nameIndicatesSensitiveData ( fe .getIdentifier ( ) .getText ( ) , classification )
7474 )
7575 }
You can’t perform that action at this time.
0 commit comments