We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2de69 commit 0f8ebd1Copy full SHA for 0f8ebd1
python/ql/test/experimental/dataflow/model-summaries/model_summaries.py
@@ -120,7 +120,14 @@ def explicit_identity(x):
120
tainted_list_implicit[0] # $ tainted
121
)
122
123
+# Modeled flow-summary is not value preserving
124
from json import MS_loads as json_loads
125
+
126
+# so no data-flow
127
+SINK_F(json_loads(SOURCE))
128
+SINK_F(json_loads(SOURCE)[0])
129
130
+# but has taint-flow
131
tainted_resultlist = json_loads(TAINTED_STRING)
132
ensure_tainted(
133
tainted_resultlist, # $ tainted
0 commit comments