Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b5f64 commit 33216f3Copy full SHA for 33216f3
1 file changed
ruby/ql/lib/codeql/ruby/frameworks/stdlib/Open3.qll
@@ -3,12 +3,8 @@
3
*/
4
5
private import ruby
6
-private import codeql.ruby.AST
7
-private import codeql.ruby.DataFlow
8
private import codeql.ruby.ApiGraphs
9
-private import codeql.ruby.frameworks.Stdlib
10
private import codeql.ruby.Concepts
11
-private import codeql.ruby.frameworks.core.Kernel
12
13
/**
14
* Provides modeling for the `Open3` library.
@@ -58,7 +54,7 @@ module Open3 {
58
54
59
55
override predicate isShellInterpreted(DataFlow::Node arg) {
60
56
// A command in the pipeline is executed in a subshell if it is given as a single string argument.
61
- arg.asExpr().getExpr() instanceof StringlikeLiteral and
57
+ arg.asExpr().getExpr() instanceof Ast::StringlikeLiteral and
62
arg = this.getAnArgument()
63
}
64
0 commit comments