File tree 2 files changed +7
-2
lines changed
python/ql/test/library-tests/dataflow/tainttracking/isinstance
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
argumentToEnsureNotTaintedNotMarkedAsSpurious
2
2
untaintedArgumentToEnsureTaintedNotMarkedAsMissing
3
+ argumentToEnsureNotTaintedWithReadsNotMarkedAsSpurious
4
+ untaintedArgumentToEnsureTaintedWithReadsNotMarkedAsMissing
5
+ spuriousReadStepsPossible
3
6
testFailures
4
7
failures
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ def impossible_flow(cond: bool):
5
5
if isinstance (x , str ):
6
6
# tainted-flow to here is impossible, replicated from path-flow seen in a real
7
7
# repo.
8
- ensure_not_tainted (x ) # $ SPURIOUS: tainted
8
+ ensure_not_tainted (x )
9
+ ensure_not_tainted_with_reads (x ) # $ SPURIOUS:tainted
9
10
else :
10
- ensure_tainted (x ) # $ tainted
11
+ ensure_not_tainted (x )
11
12
ensure_tainted (x [0 ]) # $ tainted
13
+ ensure_tainted_with_reads (x ) # $ tainted
You can’t perform that action at this time.
0 commit comments