io.joern.console
Members list
Type members
Classlikes
Base class for ReplBridge, split by topic into multiple self types.
Base class for ReplBridge, split by topic into multiple self types.
Attributes
- Supertypes
-
trait ServerHandlingtrait PluginHandlingtrait ScriptExecutiontrait InteractiveShellclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class LayerCreatorclass Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class LayerCreatorOptionsclass Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait NoStackTraceclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CpgConverter.type
If you need to throw an Exception that renders ok-ish to the user. e.g. cpg.help
when no cpg is loaded:
If you need to throw an Exception that renders ok-ish to the user. e.g. cpg.help
when no cpg is loaded:
joern> cpg.help
io.joern.console.Error: No CPG loaded for project c - try e.g. `help|importCode|importCpg|open`
In comparison, with a regular Exception the user sees
joern> cpg.help
java.lang.RuntimeException: No CPG loaded for project console1665115232529348622
- try e.g. `help|importCode|importCpg|open`
at io.joern.console.workspacehandling.WorkspaceManager.cpg(WorkspaceManager.scala:218)
at io.joern.console.Console.cpg(Console.scala:137)
... 39 elided
Attributes
- Supertypes
-
trait NoStackTraceclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FrontendConfig.type
A dirty hack to capture the reported output for the server-mode. Context: server mode is a bit tricky, because the reporting happens inside the repl, but we want to retrieve it from the context outside the repl, and the two have separate classloaders. There's probably a cleaner way, but for now this serves our needs.
A dirty hack to capture the reported output for the server-mode. Context: server mode is a bit tricky, because the reporting happens inside the repl, but we want to retrieve it from the context outside the repl, and the two have separate classloaders. There's probably a cleaner way, but for now this serves our needs.
Note that this convolutes the output from concurrently-running jobs - so we should not run UserRunnables concurrently.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GlobalReporting.type
Installation configuration of Console
Installation configuration of Console
Value parameters
- environment
-
A map of system environment variables.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InstallConfig.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait BridgeBase
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait BridgeBase
- Self type
Plugin management component
Plugin management component
Joern allows plugins to be installed. A plugin at the very least consists of a class that inherits from LayerCreator
, bundled in a jar file, packaged in a zip file. The zip file may furthermore contain any dependency jars that the plugin requires and that are not included on the joern class path by default.
Value parameters
- installDir
-
the Joern/Ocular installation dir
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait BridgeBase
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait BridgeBase
- Self type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ToolsConfig.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any