Decompiler

io.joern.ghidra2cpg.utils.Decompiler
See theDecompiler companion object
class Decompiler(val decompInterface: DecompInterface)

Interface to the ghidra decompiler, which performs caching to ensure that functions are not decompiled more than once.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def getCache: HashMap[String, DecompileResults]

Return the cache of decompile results. For debugging only.

Return the cache of decompile results. For debugging only.

Attributes

def toDecompiledFunction(function: Function): Option[DecompiledFunction]

Retrieve DecompiledFunction for given function, using the cache.

Retrieve DecompiledFunction for given function, using the cache.

Attributes

def toHighFunction(function: Function): Option[HighFunction]

Retrieve HighFunction for given function, using the cache.

Retrieve HighFunction for given function, using the cache.

Attributes

Concrete fields

val decompInterface: DecompInterface
val timeoutInSeconds: Int