mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Added test cases underscore.string array to string.
This commit is contained in:
@@ -40,3 +40,8 @@ function strToArray() {
|
||||
sink(s.words(source("s3")[0])); // $ hasTaintFlow=s3
|
||||
sink(s.lines(source("s7")[0])); // $ hasTaintFlow=s7
|
||||
}
|
||||
|
||||
function arrayToStr() {
|
||||
sink(s.toSentence([source("s1")])); // $ MISSING: hasTaintFlow=s1
|
||||
sink(s.toSentenceSerial([source("s2")])); // $ MISSING: hasTaintFlow=s2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user