File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
lib/codeql/swift/frameworks/StandardLibrary
test/library-tests/dataflow/taint/libraries Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ private import codeql.swift.dataflow.FlowSteps
12
12
*/
13
13
private class RawRepresentableSummaries extends SummaryModelCsv {
14
14
override predicate row ( string row ) {
15
- row = ";RawRepresentable;true;init(rawValue:);;;Argument[0];ReturnValue;taint"
15
+ row = [
16
+ ";RawRepresentable;true;init(rawValue:);;;Argument[0];ReturnValue;taint" ,
17
+ ";OptionSet;true;init(rawValue:);;;Argument[0];ReturnValue;taint"
18
+ ]
16
19
}
17
20
}
18
21
Original file line number Diff line number Diff line change 1
1
testFailures
2
- | optionset.swift:60:49:61:1 | // $ tainted=60\n | Missing result: tainted=60 |
3
- | optionset.swift:65:58:66:1 | // $ tainted=65\n | Missing result: tainted=65 |
4
2
failures
You can’t perform that action at this time.
0 commit comments