Open ycclnn opened 11 months ago
Looks like it's due to malformed cpg. cpg.method.fieldAccess.size
hangs forever, causing the overflowdb repeatedly calling Next()
and hasNext()
.
This problem exists in version 2.0.189.
@pandurangpatil Would you please take a look if you have time? Thanks.
val res0: io.shiftleft.codepropertygraph.Cpg = Cpg (Graph [1018955 nodes])
joern> cpg.method.fieldAccess
val res1:
Iterator[
io.shiftleft.semanticcpg.language.operatorextension.OpNodes.FieldAccess] = non-empty iterator
joern> cpg.method.fieldAccess.size
I feel like this is somehow the same problem as #3845 because:
I believe there is a cycle in the AST graph as cpg.method.id(141337L).ast
stucks as well.
chainlink.zip Describe the bug
reachableBy
hangs for empty sink and single literal node source.Desktop (please complete the following information):