File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
python/ql/test/experimental/dataflow/variable-capture Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,26 +32,26 @@ def SINK_F(x):
3232def Out ():
3333 sinkO1 = { "x" : "" }
3434 def captureOut1 ():
35- sinkO1 ["x" ] = "source"
35+ sinkO1 ["x" ] = SOURCE
3636 captureOut1 ()
3737 SINK (sinkO1 ["x" ]) #$ MISSING:captured
3838
3939 sinkO2 = { "x" : "" }
4040 def captureOut2 ():
4141 def m ():
42- sinkO2 ["x" ] = "source"
42+ sinkO2 ["x" ] = SOURCE
4343 m ()
4444 captureOut2 ()
4545 SINK (sinkO2 ["x" ]) #$ MISSING:captured
4646
4747 nonSink0 = { "x" : "" }
4848 def captureOut1NotCalled ():
49- nonSink0 ["x" ] = "source"
49+ nonSink0 ["x" ] = SOURCE
5050 SINK_F (nonSink0 ["x" ])
5151
5252 def captureOut2NotCalled ():
5353 def m ():
54- nonSink0 ["x" ] = "source"
54+ nonSink0 ["x" ] = SOURCE
5555 captureOut2NotCalled ()
5656 SINK_F (nonSink0 ["x" ])
5757
You can’t perform that action at this time.
0 commit comments