Merge pull request #2442 from hvitved/csharp/dataflow/conversion-operator

Approved by calumgrant
This commit is contained in:
semmle-qlci
2019-12-02 11:01:35 +00:00
committed by GitHub
6 changed files with 42 additions and 1 deletions

View File

@@ -113,6 +113,12 @@ private class LocalTaintExprStepConfiguration extends ControlFlowReachabilityCon
scope = e2 and
isSuccessor = true
)
or
e2 = any(OperatorCall oc |
oc.getTarget().(ConversionOperator).fromLibrary() and
e1 = oc.getAnArgument() and
isSuccessor = true
)
)
}