File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
javascript/ql/lib/semmle/javascript/internal/flow_summaries Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ private class TextDecoderEntryPoint extends API::EntryPoint {
1313pragma [ nomagic]
1414API:: Node textDecoderConstructorRef ( ) { result = any ( TextDecoderEntryPoint e ) .getANode ( ) }
1515
16- class DecodeLike extends SummarizedCallable {
17- DecodeLike ( ) { this = "TextDecoder#decode" }
16+ class Decode extends SummarizedCallable {
17+ Decode ( ) { this = "TextDecoder#decode" }
1818
1919 override InstanceCall getACall ( ) {
2020 result = textDecoderConstructorRef ( ) .getInstance ( ) .getMember ( "decode" ) .getACall ( )
2121 }
2222
2323 override predicate propagatesFlow ( string input , string output , boolean preservesValue ) {
24- preservesValue = true and
25- input = "Argument[0]" and
24+ preservesValue = false and
25+ input = "Argument[0].ArrayElement " and
2626 output = "ReturnValue"
2727 }
2828}
You can’t perform that action at this time.
0 commit comments