File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
python/ql/lib/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ private import codeql.dataflow.VariableCapture as Shared
10
10
// - JS: Capture flow: https://github.com/github/codeql/pull/14412/commits/7bcf8b858babfea0a3e36ce61145954c249e13ac
11
11
// - JS: Disallow consecutive captured contents: https://github.com/github/codeql/pull/14412/commits/46e4cdc6232604ea7f58138a336d5a222fad8567
12
12
// The first is the main implementation, the second is a performance motivated restriction.
13
+ // The restriction is to clear any `CapturedVariableContent` before writing a new one
14
+ // to avoid long access paths (see the link for a nice explanation).
13
15
private module CaptureInput implements Shared:: InputSig< Location > {
14
16
private import python as PY
15
17
You can’t perform that action at this time.
0 commit comments