Packages

object X2Cpg

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. X2Cpg
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applyDefaultOverlays(cpg: Cpg): Unit

    For a CPG generated by a frontend, run the default passes that turn a frontend-CPG into a complete CPG.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def defaultOverlayCreators(): List[LayerCreator]

    This should be the only place where we define the list of default overlays.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def newEmptyCpg(optionalOutputPath: Option[String] = None): Cpg

    Create an empty CPG, backed by the file at optionalOutputPath or in-memory if optionalOutputPath is empty.

  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def parseCommandLine[R <: X2CpgConfig[R]](args: Array[String], frontendSpecific: OParser[_, R], initialConf: R): Option[R]

    Parse commands line arguments in args using an X2Cpg command line parser, extended with the frontend specific options in frontendSpecific with the initial configuration set to initialConf.

    Parse commands line arguments in args using an X2Cpg command line parser, extended with the frontend specific options in frontendSpecific with the initial configuration set to initialConf. On success, the configuration is returned wrapped into an Option. On failure, error messages are printed and, None is returned.

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. def withErrorsToConsole[T <: X2CpgConfig[_]](config: T)(f: (T) => Try[_]): Try[_]

    Given a function that receives a configuration and returns an arbitrary result type wrapped in a Try, evaluate the function, printing errors to the console.

  24. def withNewEmptyCpg[T <: X2CpgConfig[_]](outPath: String, config: T)(applyPasses: (Cpg, T) => Unit): Try[Cpg]

    Apply function applyPasses to a newly created CPG.

    Apply function applyPasses to a newly created CPG. The CPG is wrapped in a Try and returned. On failure, the CPG is ensured to be closed.

  25. def writeCodeToFile(sourceCode: String, tmpDirPrefix: String, suffix: String): File

    Write sourceCode to a temporary file inside a temporary directory.

    Write sourceCode to a temporary file inside a temporary directory. The prefix for the temporary directory is given by tmpDirPrefix. The suffix for the temporary file is given by suffix. Both file and directory are deleted on exit.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped