CpgLoader
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CpgLoader.type
Members list
Value members
Concrete methods
Create any indexes necessary for quick access.
Create any indexes necessary for quick access.
Attributes
- cpg
the CPG to create indexes in
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
Attributes
- filename
name of the file to probe
Determine whether the CPG is a legacy (proto) CPG
Determine whether the CPG is a legacy (proto) CPG
Attributes
- file
file to probe
Load a Code Property Graph
Load a Code Property Graph
Attributes
- config
loader configuration
- filename
name of file that stores the code property graph
Load Code Property Graph from an overflow DB file
Load Code Property Graph from an overflow DB file
Attributes
- 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)