Skip to content
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

Optimized call graph does not include call to class static initialization block #7

Open
amottier opened this issue Oct 13, 2021 · 2 comments
Assignees

Comments

@amottier
Copy link

In this demo project, code will call methods located in OpenSsl. This means that the static initialization block of OpenSsl is called. Currently the optimized call graph does not include this call.

@tmortagne tmortagne changed the title Stitched call graph does not include call to class static initialization block Optimized call graph does not include call to class static initialization block Oct 13, 2021
@tmortagne tmortagne self-assigned this Oct 13, 2021
@tmortagne
Copy link
Member

tmortagne commented Oct 13, 2021

One possibility on plugin side would be to include any "clinit" callable from a class which is included in the optimized graph.

Of course, in the long run it would probably be better if OPAL itself was creating a link between nodes which are manipulating this class and the class init.

@MagielBruntink
Copy link
Member

@ashkboos are such edges not supported by OPAL, or would it eg. be possible to configure OPAL to generate them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants