@@ -37,7 +37,7 @@ private module log {
37
37
38
38
override DataFlow:: Node getAnInput ( ) {
39
39
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) != "log" and
40
- result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
40
+ result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
41
41
or
42
42
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) = "log" and
43
43
result in [ this .getArg ( any ( int i | i > 0 ) ) , this .getArgByName ( any ( string s | s != "level" ) ) ]
@@ -61,7 +61,7 @@ private module log {
61
61
62
62
override DataFlow:: Node getAnInput ( ) {
63
63
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) != "log" and
64
- result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
64
+ result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
65
65
or
66
66
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) = "log" and
67
67
result in [ this .getArg ( any ( int i | i > 0 ) ) , this .getArgByName ( any ( string s | s != "level" ) ) ]
@@ -84,7 +84,7 @@ private module log {
84
84
85
85
override DataFlow:: Node getAnInput ( ) {
86
86
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) != "log" and
87
- result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
87
+ result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
88
88
or
89
89
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) = "log" and
90
90
result in [ this .getArg ( any ( int i | i > 0 ) ) , this .getArgByName ( any ( string s | s != "level" ) ) ]
@@ -109,7 +109,7 @@ private module log {
109
109
110
110
override DataFlow:: Node getAnInput ( ) {
111
111
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) != "log" and
112
- result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
112
+ result in [ this .getArg ( _) , this .getArgByName ( _) ] // this includes the arg named "msg"
113
113
or
114
114
this .getFunction ( ) .( DataFlow:: AttrRead ) .getAttributeName ( ) = "log" and
115
115
result in [ this .getArg ( any ( int i | i > 0 ) ) , this .getArgByName ( any ( string s | s != "level" ) ) ]
0 commit comments