mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Added test for extra chaining function for underscore.string.
This commit is contained in:
@@ -97,4 +97,7 @@ function chaining() {
|
||||
.lpad(10, source("s9")).rpad(10, source("s10"))
|
||||
.repeat(3, source("s11")).surround(source("s12"))
|
||||
.quote(source("s13")).value()); // $ hasTaintFlow=s2 hasTaintFlow=s3 hasTaintFlow=s4 hasTaintFlow=s5 hasTaintFlow=s6 hasTaintFlow=s7 hasTaintFlow=s8 hasTaintFlow=s9 hasTaintFlow=s10 hasTaintFlow=s11 hasTaintFlow=s12 hasTaintFlow=s13
|
||||
|
||||
sink(s(source("s14")).toUpperCase().toLowerCase().replace().slice(1).substring(1).substr(1).concat(source("s15")).split()); // $ MISSING: hasTaintFlow=s14 MISSING: hasTaintFlow=s15
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user