ProtoCpgLoader

io.shiftleft.codepropertygraph.cpgloading.ProtoCpgLoader

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def loadFromListOfProtos(protoCpgs: () => Iterator[CpgStruct], storagePath: Option[Path]): Cpg

Value parameters

protoCpgs

is a function because we need to run two passes due to flatgraph-specific implementation details: one to add the nodes, and one to add edges and set node properties

Attributes

def loadFromListOfProtos(cpgs: List[CpgStruct], storagePath: Option[Path]): Cpg
def loadFromProtoZip(fileName: String, storagePath: Option[Path]): Cpg
def loadOverlays(fileName: String): Try[Iterator[CpgOverlay]]