X2Cpg
Value members
Concrete methods
Create an empty CPG, backed by the file at optionalOutputPath or in-memory if optionalOutputPath is empty.
Create an empty CPG, backed by the file at optionalOutputPath or in-memory if optionalOutputPath is empty.
Parse commands line arguments in args using an X2Cpg command line parser, extended with the frontend specific
options in frontendSpecific with the initial configuration set to initialConf. On success, the configuration
is returned wrapped into an Option. On failure, error messages are printed and, None is returned.
Parse commands line arguments in args using an X2Cpg command line parser, extended with the frontend specific
options in frontendSpecific with the initial configuration set to initialConf. On success, the configuration
is returned wrapped into an Option. On failure, error messages are printed and, None is returned.
Given a function that receives a configuration and returns an arbitrary result type wrapped in a Try, evaluate
the function, printing errors to the console.
Given a function that receives a configuration and returns an arbitrary result type wrapped in a Try, evaluate
the function, printing errors to the console.
Apply function applyPasses to a newly created CPG. The CPG is wrapped in a Try and returned. On failure, the
CPG is ensured to be closed.
Apply function applyPasses to a newly created CPG. The CPG is wrapped in a Try and returned. On failure, the
CPG is ensured to be closed.