File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
swift/ql/lib/codeql/swift/frameworks/StandardLibrary Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ private import codeql.swift.dataflow.FlowSteps
12
12
*/
13
13
private class NsObjectSummaries extends SummaryModelCsv {
14
14
override predicate row ( string row ) {
15
- row = [
16
- ";NSObject;true;copy();;;Argument[-1];ReturnValue;taint" ,
17
- ";NSObject;true;mutableCopy();;;Argument[-1];ReturnValue;taint" ,
18
- ";NSCopying;true;copy(with:);;;Argument[-1];ReturnValue;taint" ,
19
- ";NSMutableCopying;true;mutableCopy(with:);;;Argument[-1];ReturnValue;taint" ,
20
- ]
15
+ row =
16
+ [
17
+ ";NSObject;true;copy();;;Argument[-1];ReturnValue;taint" ,
18
+ ";NSObject;true;mutableCopy();;;Argument[-1];ReturnValue;taint" ,
19
+ ";NSCopying;true;copy(with:);;;Argument[-1];ReturnValue;taint" ,
20
+ ";NSMutableCopying;true;mutableCopy(with:);;;Argument[-1];ReturnValue;taint" ,
21
+ ]
21
22
}
22
23
}
You can’t perform that action at this time.
0 commit comments