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

Skip to content

Commit 4e2f786

Browse files
aschackmullhvitved
authored andcommitted
Dataflow: Precalculate AccessPath to avoid massive recursion.
1 parent ca534cc commit 4e2f786

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ private class SummaryCtxSome extends SummaryCtx, TSummaryCtxSome {
20982098

20992099
private newtype TAccessPath =
21002100
TAccessPathNil(DataFlowType t) or
2101-
TAccessPathCons(TypedContent head, AccessPath tail) { pathStoreStep(_, _, tail, _, head, _) }
2101+
TAccessPathCons(TypedContent head, AccessPath tail) { flowConsCand(head, tail.getApprox(), _) }
21022102

21032103
private newtype TPathNode =
21042104
TPathNodeMid(

0 commit comments

Comments
 (0)