Files
codeql/csharp/ql/test/library-tests/dataflow/modulusanalysis/ModulusAnalysis.ql
2020-11-11 09:46:18 +01:00

9 lines
341 B
Plaintext

import csharp
import semmle.code.csharp.dataflow.internal.rangeanalysis.RangeUtils
import semmle.code.csharp.dataflow.ModulusAnalysis
import semmle.code.csharp.dataflow.Bound
from ControlFlow::Nodes::ExprNode e, Bound b, int delta, int mod
where exprModulus(e, b, delta, mod) and e.getExpr().fromSource()
select e, b.toString(), delta, mod