Skip to content

Commit b161f6f

Browse files
morbitzeroxisto
authored andcommitted
No more DFG Edges to FunctionDeclaration
1 parent 2731977 commit b161f6f

File tree

1 file changed

+1
-1
lines changed
  • cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes

1 file changed

+1
-1
lines changed

Diff for: cpg-core/src/main/kotlin/de/fraunhofer/aisec/cpg/passes/DFGPass.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ class DFGPass(ctx: TranslationContext) : ComponentPass(ctx) {
401401
} else if (call.invokes.isNotEmpty()) {
402402
call.invokes.forEach {
403403
if (it.isInferred && inferDfgForUnresolvedSymbols) {
404-
handleUnresolvedCalls(call, it)
404+
handleUnresolvedCalls(call, call)
405405
} else {
406406
Util.attachCallParameters(it, call.arguments)
407407
}

0 commit comments

Comments
 (0)