Skip to content

Commit bf3a266

Browse files
committed
Python: dataflow regression tests: remove taint tracking tests
they will be reintroduced in an other PR
1 parent 552637a commit bf3a266

File tree

1 file changed

+0
-19
lines changed
  • python/ql/test/experimental/dataflow/regression

1 file changed

+0
-19
lines changed

python/ql/test/experimental/dataflow/regression/test.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -212,22 +212,3 @@ def flow_in_generator():
212212
def flow_from_generator():
213213
for x in flow_in_generator():
214214
SINK(x) # Flow not found
215-
216-
def const_eq_clears_taint():
217-
tainted = SOURCE
218-
if tainted == "safe":
219-
SINK(tainted) # safe # FP
220-
SINK(tainted) # unsafe
221-
222-
def const_eq_clears_taint2():
223-
tainted = SOURCE
224-
if tainted != "safe":
225-
return
226-
SINK(tainted) # safe # FP
227-
228-
def non_const_eq_preserves_taint(x):
229-
tainted = SOURCE
230-
if tainted == tainted:
231-
SINK(tainted) # unsafe
232-
if tainted == x:
233-
SINK(tainted) # unsafe

0 commit comments

Comments
 (0)