All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.joern.x2cpg.frontendspecific.rubysrc2cpg.Constants.scala Maven / Gradle / Ivy

There is a newer version: 4.0.131
Show newest version
package io.joern.x2cpg.frontendspecific.rubysrc2cpg

object Constants {

  val builtinPrefix = "__core"
  val kernelPrefix  = s"$builtinPrefix.Kernel"
  val Initialize    = "initialize"
  val Main          = "
" /* Source: https://ruby-doc.org/3.2.2/Kernel.html * * We comment-out methods that require an explicit "receiver" (target of member access.) */ val kernelFunctions: Set[String] = Set( "Array", "Complex", "Float", "Hash", "Integer", "Rational", "String", "__callee__", "__dir__", "__method__", "abort", "at_exit", "autoload", "autoload?", "binding", "block_given?", "callcc", "caller", "caller_locations", "catch", "chomp", "chomp!", "chop", "chop!", // "class", // "clone", "eval", "exec", "exit", "exit!", "fail", "fork", "format", // "frozen?", "gets", "global_variables", "gsub", "gsub!", "iterator?", "lambda", "load", "local_variables", "loop", "open", "p", "print", "printf", "proc", "putc", "puts", "raise", "rand", "readline", "readlines", "require", "require_all", "require_relative", "select", "set_trace_func", "sleep", "spawn", "sprintf", "srand", "sub", "sub!", "syscall", "system", "tap", "test", // "then", "throw", "trace_var", // "trap", "untrace_var", "warn" // "yield_self", ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy