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

Produce a clean build output for the causality export #180

Open
5 tasks
LinaUr opened this issue Mar 23, 2023 · 0 comments
Open
5 tasks

Produce a clean build output for the causality export #180

LinaUr opened this issue Mar 23, 2023 · 0 comments
Assignees

Comments

@LinaUr
Copy link
Contributor

LinaUr commented Mar 23, 2023

Currently, when building an image with -H:+PrintCausalityGraph, the results will just be created as as set of individual files in the working directory:

methods.txt
types.txt
typeflows.txt
direct_invokes.bin
typestates.bin
interflows.bin
declaring_types.bin
typeflow_filters.bin
typeflow_methods.bin

In order to use the causality data in our observatory, the user currently has to zip these themselves and also include the reachability.json in this zip.

  • Produce a single .cg.zip file
  • Register it via the usual graal build output API, so a message gets printed
  • Remove unneeded files declaring_types.bin and typeflows.txt
  • Also integrate the reachability.json from the ReachabilityExporter-Feature in the .cg.zip-file
  • Optional: Think about choosing a more efficient data structure for typestates.bin, which currently consists of >99% zeros
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

2 participants