We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e08eac0 commit 1fc112eCopy full SHA for 1fc112e
swift/ql/lib/codeql/swift/frameworks/StandardLibrary/RawRepresentable.qll
@@ -12,7 +12,10 @@ private import codeql.swift.dataflow.FlowSteps
12
*/
13
private class RawRepresentableSummaries extends SummaryModelCsv {
14
override predicate row(string row) {
15
- row = ";RawRepresentable;true;init(rawValue:);;;Argument[0];ReturnValue;taint"
+ row = [
16
+ ";RawRepresentable;true;init(rawValue:);;;Argument[0];ReturnValue;taint",
17
+ ";OptionSet;true;init(rawValue:);;;Argument[0];ReturnValue;taint"
18
+ ]
19
}
20
21
swift/ql/test/library-tests/dataflow/taint/libraries/TaintInline.expected
@@ -1,4 +1,2 @@
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
failures
0 commit comments