Skip to content

Commit 5b21188

Browse files
committed
C#: Sync.
1 parent 6200031 commit 5b21188

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/ModulusAnalysis.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private predicate valueFlowStepSsa(SsaVariable v, SsaReadPosition pos, Expr e, i
1717
exists(Guard guard, boolean testIsTrue |
1818
pos.hasReadOfVar(v) and
1919
guard = eqFlowCond(v, e, delta, true, testIsTrue) and
20-
guardDirectlyControlsSsaRead(guard, pos, testIsTrue)
20+
guardControlsSsaRead(guard, pos, testIsTrue)
2121
)
2222
}
2323

csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis/ModulusAnalysisSpecific.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ module Private {
3232

3333
class LeftShiftExpr = RU::ExprNode::LeftShiftExpr;
3434

35-
predicate guardDirectlyControlsSsaRead = RU::guardControlsSsaRead/3;
36-
3735
predicate guardControlsSsaRead = RU::guardControlsSsaRead/3;
3836

3937
predicate valueFlowStep = RU::valueFlowStep/3;

0 commit comments

Comments
 (0)