object CpgLoader
- Alphabetic
- By Inheritance
- CpgLoader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addDiffGraphs(diffGraphFilenames: Seq[String], cpg: Cpg): Unit
- def addOverlays(overlayFilenames: Seq[String], cpg: Cpg): Unit
Load and apply overlays from archives to the given CPG.
Load and apply overlays from archives to the given CPG.
- overlayFilenames
filenames of proto archives
- cpg
The CPG to apply overlays to
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createIndexes(cpg: Cpg): Unit
Create any indexes necessary for quick access.
Create any indexes necessary for quick access.
- cpg
the CPG to create indexes in
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLegacyCpg(file: File): Boolean
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
- file
file to probe
- def isLegacyCpg(filename: String): Boolean
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
- filename
name of the file to probe
- def load(filename: String, config: CpgLoaderConfig = CpgLoaderConfig()): Cpg
Load a Code Property Graph
Load a Code Property Graph
- filename
name of file that stores the code property graph
- config
loader configuration
- def loadFromOverflowDb(config: CpgLoaderConfig = CpgLoaderConfig()): Cpg
Load Code Property Graph from an overflow DB file
Load Code Property Graph from an overflow DB file
- config
loader config This methods loads the CPG from an existing overflow DB file, specified in config.overflowDbConfig. In particular, this config specifies the filename. For example, to load the database at "foo.db", you can issue the following: val odbConfig = Config.withDefaults().withStorageLocation(config.spPath) val config = CpgLoaderConfig().withOverflowConfig(odbConfig) CpgLoader.loadFromOverflowDb(config)
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()