XTypeRecoveryPassGenerator

io.joern.x2cpg.passes.frontend.XTypeRecoveryPassGenerator
See theXTypeRecoveryPassGenerator companion object
abstract class XTypeRecoveryPassGenerator[CompilationUnitType <: AstNode](cpg: Cpg, config: XTypeRecoveryConfig)

In order to propagate types across compilation units, but avoid the poor scalability of a fixed-point algorithm, the number of iterations can be configured using the iterations parameter. Note that iterations < 2 will not provide any interprocedural type recovery capabilities.

Type parameters

CompilationUnitType

the AstNode type used to represent a compilation unit of the language.

Value parameters

cpg

the CPG to recovery types for.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def generate(): List[CpgPassBase]