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
1212 */
1313private class RawRepresentableSummaries extends SummaryModelCsv {
1414 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+ ]
1619 }
1720}
1821
Original file line number Diff line number Diff line change 11testFailures
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 |
42failures
You can’t perform that action at this time.
0 commit comments