mirror of
https://github.com/github/codeql.git
synced 2026-03-05 23:26:51 +01:00
`constantize` is an ActiveSupport extension to `String` that attempts to look up a constant with a name matching the receiver.
6 lines
164 B
Plaintext
6 lines
164 B
Plaintext
import codeql.ruby.frameworks.ActiveSupport
|
|
|
|
query DataFlow::Node constantizeCalls(ActiveSupport::CoreExtensions::String::Constantize c) {
|
|
result = c.getCode()
|
|
}
|