File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1116,13 +1116,13 @@ module Private {
1116
1116
preservesValue = false and result = "taint"
1117
1117
}
1118
1118
1119
- private string renderGenerated ( RelevantSummarizedCallable c ) {
1120
- if c .( SummarizedCallable ) .isAutoGenerated ( ) then result = "generated: " else result = ""
1119
+ private string renderProvenance ( RelevantSummarizedCallable c ) {
1120
+ if c .( SummarizedCallable ) .isAutoGenerated ( ) then result = "generated" else result = "manual "
1121
1121
}
1122
1122
1123
1123
/**
1124
1124
* A query predicate for outputting flow summaries in semi-colon separated format in QL tests.
1125
- * The syntax is: "namespace;type;overrides;name;signature;ext;inputspec;outputspec;(generated:)? kind",
1125
+ * The syntax is: "namespace;type;overrides;name;signature;ext;inputspec;outputspec;kind;provenance" ",
1126
1126
* ext is hardcoded to empty.
1127
1127
*/
1128
1128
query predicate summary ( string csv ) {
@@ -1133,7 +1133,7 @@ module Private {
1133
1133
c .relevantSummary ( input , output , preservesValue ) and
1134
1134
csv =
1135
1135
c .getCallableCsv ( ) + getComponentStackCsv ( input ) + ";" + getComponentStackCsv ( output ) +
1136
- ";" + renderGenerated ( c ) + renderKind ( preservesValue )
1136
+ ";" + renderKind ( preservesValue ) + ";" + renderProvenance ( c )
1137
1137
)
1138
1138
}
1139
1139
}
You can’t perform that action at this time.
0 commit comments