CodeQL library for C#
codeql/csharp-all 0.9.2-dev (changelog, source)
Search

Predicate conditionControlsMethod

Calls to a sensitive method that are controlled by a condition on the given expression.

Import path

import semmle.code.csharp.security.dataflow.ConditionalBypassQuery
predicate conditionControlsMethod(SensitiveExecutionMethodCall call, Expr e)