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

Directly construct KCFGs instead of parsing #1374

Closed
ehildenb opened this issue Sep 13, 2022 · 0 comments · Fixed by #1377
Closed

Directly construct KCFGs instead of parsing #1374

ehildenb opened this issue Sep 13, 2022 · 0 comments · Fixed by #1377
Assignees

Comments

@ehildenb
Copy link
Member

ehildenb commented Sep 13, 2022

Currently (as of #1372), we are generating KCFGs as the proof obligations for each foundry proof. We do this by generating a giant K file with the proof obligations, kompiling it, the using kprove --emit-json-spec ... --dry-run on the same file to read in the specs and generate KCFGs from them.

Instead, we can just directly generate the KCFGs right after calling kompiling the definition, and never bother writing these claims to the giant K file. This skips an entire round trip of unparsing + parsing the claims.

See #1372 (comment)

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

Successfully merging a pull request may close this issue.

1 participant