Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d269b0 commit f29dfa5Copy full SHA for f29dfa5
1 file changed
python/ql/src/semmle/python/Pruning.qll
@@ -548,7 +548,8 @@ module Pruner {
548
simply_dead(pred, succ)
549
}
550
551
- /* Helper for `unreachableEdge` */
+ /* Helper for `unreachableEdge`, deal with inequalities here to avoid blow up */
552
+ pragma [inline]
553
private predicate contradicts(Constraint a, Constraint b) {
554
a.contradicts(b) or
555
a.(ConstrainedByConstant).minValue() > b.(ConstrainedByConstant).maxValue() or
0 commit comments