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

Predicate Internal::Cached::guardControls

Holds if basic block bb only is reached when guard g has abstract value v.

Import path

import semmle.code.csharp.controlflow.Guards
predicate guardControls(Guard g, BasicBlock bb, AbstractValue v)