From 476cc200622b2627df3f053a641da21532588350 Mon Sep 17 00:00:00 2001 From: Alexander Kuechler Date: Fri, 27 Oct 2023 13:24:53 +0200 Subject: [PATCH] Fix problem of unconnected dfg for unknown functions --- .../src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DFGPass.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DFGPass.kt b/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DFGPass.kt index 2382e98fdc..9aebda45f4 100644 --- a/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DFGPass.kt +++ b/cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DFGPass.kt @@ -404,8 +404,8 @@ open class DFGPass(ctx: TranslationContext) : ComponentPass(ctx) { handleUnresolvedCalls(call, it) } else { Util.attachCallParameters(it, call.arguments) - call.addPrevDFG(it) } + call.addPrevDFG(it) } } }