mirror of
https://github.com/github/codeql.git
synced 2026-03-01 05:13:41 +01:00
Dataflow: Precalculate AccessPath to avoid massive recursion.
This commit is contained in:
committed by
Tom Hvitved
parent
ca534ccb03
commit
4e2f786040
@@ -2098,7 +2098,7 @@ private class SummaryCtxSome extends SummaryCtx, TSummaryCtxSome {
|
||||
|
||||
private newtype TAccessPath =
|
||||
TAccessPathNil(DataFlowType t) or
|
||||
TAccessPathCons(TypedContent head, AccessPath tail) { pathStoreStep(_, _, tail, _, head, _) }
|
||||
TAccessPathCons(TypedContent head, AccessPath tail) { flowConsCand(head, tail.getApprox(), _) }
|
||||
|
||||
private newtype TPathNode =
|
||||
TPathNodeMid(
|
||||
|
||||
Reference in New Issue
Block a user