Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39f134c commit 7cbbf3bCopy full SHA for 7cbbf3b
1 file changed
python/ql/test/experimental/dataflow/variable-capture/dict.py
@@ -32,26 +32,26 @@ def SINK_F(x):
32
def Out():
33
sinkO1 = { "x": "" }
34
def captureOut1():
35
- sinkO1["x"] = "source"
+ sinkO1["x"] = SOURCE
36
captureOut1()
37
SINK(sinkO1["x"]) #$ MISSING:captured
38
39
sinkO2 = { "x": "" }
40
def captureOut2():
41
def m():
42
- sinkO2["x"] = "source"
+ sinkO2["x"] = SOURCE
43
m()
44
captureOut2()
45
SINK(sinkO2["x"]) #$ MISSING:captured
46
47
nonSink0 = { "x": "" }
48
def captureOut1NotCalled():
49
- nonSink0["x"] = "source"
+ nonSink0["x"] = SOURCE
50
SINK_F(nonSink0["x"])
51
52
def captureOut2NotCalled():
53
54
55
captureOut2NotCalled()
56
57
0 commit comments