Skip to content

Commit 3601773

Browse files
committed
python: support encoding lower bound
1 parent 580e68d commit 3601773

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImpl.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ module Input implements InputSig<DataFlowImplSpecific::PythonDataFlow> {
2727
result = i.toString()
2828
)
2929
or
30+
exists(int i |
31+
pos.isPositionalLowerBound(i) and
32+
result = i + ".."
33+
)
34+
or
3035
exists(string name |
3136
pos.isKeyword(name) and
3237
result = name + ":"

0 commit comments

Comments
 (0)