Ruby: Add flow summaries for String methods

This commit is contained in:
Harry Maclean
2022-02-09 10:03:17 +13:00
parent e42f759f6b
commit fef46e1ee4
5 changed files with 1750 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
/**
* @kind path-problem
*/
import ruby
import TestUtilities.InlineFlowTest
import PathGraph
from DataFlow::PathNode source, DataFlow::PathNode sink, DefaultValueFlowConf conf
where conf.hasFlowPath(source, sink)
select sink, source, sink, "$@", source, source.toString()