We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acfd593 commit 8bdbaf4Copy full SHA for 8bdbaf4
cpp/ql/src/Security/CWE/CWE-311/CleartextTransmission.ql
@@ -125,13 +125,10 @@ abstract class NetworkSendRecv extends FunctionCall {
125
v.getInitializer().getExpr() instanceof Literal and
126
g = globalValueNumber(v.getAnAccess())
127
)
128
- or
+ or
129
// result of a function call with literal inputs (likely constant)
130
exists(FunctionCall fc |
131
- forex(Expr arg |
132
- arg = fc.getAnArgument() |
133
- arg instanceof Literal
134
- ) and
+ forex(Expr arg | arg = fc.getAnArgument() | arg instanceof Literal) and
135
g = globalValueNumber(fc)
136
137
// (this is far from exhaustive)
0 commit comments