Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa04a2a

Browse files
committed
Python: sync dataflow files
1 parent 656c765 commit aa04a2a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

python/ql/src/experimental/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2564,7 +2564,7 @@ private module FlowExploration {
25642564

25652565
private newtype TPartialAccessPath =
25662566
TPartialNil(DataFlowType t) or
2567-
TPartialCons(TypedContent tc, int len) { len in [1 .. 5] }
2567+
TPartialCons(TypedContent tc, int len) { len in [1 .. accessPathLimit()] }
25682568

25692569
/**
25702570
* Conceptually a list of `TypedContent`s followed by a `Type`, but only the first

python/ql/src/experimental/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2564,7 +2564,7 @@ private module FlowExploration {
25642564

25652565
private newtype TPartialAccessPath =
25662566
TPartialNil(DataFlowType t) or
2567-
TPartialCons(TypedContent tc, int len) { len in [1 .. 5] }
2567+
TPartialCons(TypedContent tc, int len) { len in [1 .. accessPathLimit()] }
25682568

25692569
/**
25702570
* Conceptually a list of `TypedContent`s followed by a `Type`, but only the first

0 commit comments

Comments
 (0)