Console

io.joern.console.Console
See theConsole companion object
class Console[T <: Project](loader: WorkspaceLoader[T], baseDir: File)(implicit availableWidthProvider: AvailableWidthProvider) extends Reporting

Attributes

Companion
object
Graph
Supertypes
trait Reporting
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

object ConsoleImageViewer extends ImageViewer

Attributes

Supertypes
trait ImageViewer
class Object
trait Matchable
class Any
Self type
implicit class ItExtend[X](it: Iterator[X])

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def _runAnalyzer(overlayCreators: LayerCreator*): Cpg
def applyDefaultOverlays(cpg: Cpg): Cpg
def applyPostProcessingPasses(cpg: Cpg): Cpg
def close(name: String): Option[Project]
def close: Option[Project]
def console: Console[T]
def cpgs: Iterator[Cpg]

All cpgs loaded in the workspace

All cpgs loaded in the workspace

Attributes

def delete(name: String): Option[Unit]

Delete project from disk and remove it from the workspace manager. Returns the (now invalid) project.

Delete project from disk and remove it from the workspace manager. Returns the (now invalid) project.

Value parameters

name

the name of the project

Attributes

def delete: Option[Unit]

Delete the active project

Delete the active project

Attributes

def exit: Unit
def fixProjectNameAndComplainOnFix(name: String): String
def importCpg(inputPath: String, projectName: String, enhance: Boolean): Option[Cpg]
def open(name: String): Option[Project]
def open: Option[Project]

Open the active project

Open the active project

Attributes

def openForInputPath(inputPath: String): Option[Project]
def project: T
def reload(name: String): Option[Project]

Close the project and open it again.

Close the project and open it again.

Value parameters

name

the name of the project

Attributes

def save: List[Project]
def switchWorkspace(pathName: String): Unit

Inherited methods

def report(string: String): Unit

Attributes

Inherited from:
Reporting
def reportOutStream: OutputStream

Attributes

Inherited from:
Reporting

Implicits

Implicits

final implicit def ItExtend[X](it: Iterator[X]): ItExtend[X]
implicit def cpg: Cpg