https://github.com/Fraunhofer-AISEC/cpg/blob/ba24ee2f3e8dfb6660e0ecaf3c4f264f051aa81d/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/TranslationConfiguration.kt#L327 This API is misleading. It sets the DB, but the CPG will not analyze any files in the database (`sourceLocations` has to be set to `db.sources`, too).
cpg/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/TranslationConfiguration.kt
Line 327 in ba24ee2
This API is misleading. It sets the DB, but the CPG will not analyze any files in the database (
sourceLocationshas to be set todb.sources, too).