New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite recursion in deserialization of CPG #32
Comments
Increasing stack size from 1MB to 10MB (VM arg |
I see, that's what I suspected. It's basically the same behavior that we had when the passes were still recursive. |
Can you check, whether this is still a problem with the recent version of the CPG. It might have been fixed by Fraunhofer-AISEC/cpg#213 which closed Fraunhofer-AISEC/cpg#185 |
Still a problem. Our own |
It seems that those creep up again in recent tests
|
Looks like this is still an issue to some degree:
|
It seems some other bug, not related to graph serialisation, closing this one. |
When deserializing a fairly complex project, the OGM deserialization in OverflowDatabase gets into an infinite recursion of creating edges for vertices, leading to a StackOverflowError.
Steps to reproduce:
git clone https://github.com/11112222/WebGoat5_0_32555lines.git webgoat
build/install/codyze/bin/codyze -c -s webgoat/WebGoat5.0/JavaSource/ -m src/dist/mark
Result:
The text was updated successfully, but these errors were encountered: