File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
swift/ql/test/library-tests/dataflow/taint/core Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1
1
testFailures
2
- | conversions.swift:145:12:145:12 | ms2 | Unexpected result: tainted=144 |
3
- | conversions.swift:145:17:146:1 | // $ tainted=95\n | Missing result:tainted=95 |
4
- | conversions.swift:146:12:146:16 | .description | Unexpected result: tainted=144 |
5
- | conversions.swift:146:29:147:1 | // $ tainted=95\n | Missing result:tainted=95 |
6
- | conversions.swift:147:12:147:16 | .debugDescription | Unexpected result: tainted=144 |
7
- | conversions.swift:147:34:148:1 | // $ tainted=95\n | Missing result:tainted=95 |
8
2
failures
Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ func testConversions() {
142
142
sink ( arg: ms1. clean)
143
143
144
144
let ms2 = MyString ( sourceString ( ) ) !
145
- sink ( arg: ms2) // $ tainted=95
146
- sink ( arg: ms2. description) // $ tainted=95
147
- sink ( arg: ms2. debugDescription) // $ tainted=95
145
+ sink ( arg: ms2) // $ tainted=144
146
+ sink ( arg: ms2. description) // $ tainted=144
147
+ sink ( arg: ms2. debugDescription) // $ tainted=144
148
148
sink ( arg: ms2. clean)
149
149
150
150
// ---
You can’t perform that action at this time.
0 commit comments