CpgGeneratorFactory

io.joern.console.cpgcreation.CpgGeneratorFactory
See theCpgGeneratorFactory companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def convertProtoCpgToOverflowDb(srcFilename: String, dstFilename: String): Unit
def forCodeAt(inputPath: String): Option[CpgGenerator]

For a given input path, try to guess a suitable generator and return it

For a given input path, try to guess a suitable generator and return it

Attributes

def forLanguage(language: String): Option[CpgGenerator]

For a language, return the generator

For a language, return the generator

Attributes

def isZipFile(file: File): Boolean
def languageIsKnown(language: String): Boolean
def runGenerator(generator: CpgGenerator, inputPath: String, outputPath: String): Try[Path]