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

Add cut cheat code for to improve foundry-merge-node #2109

Closed
wants to merge 6 commits into from

Conversation

anvacaru
Copy link
Contributor

@anvacaru anvacaru commented Oct 10, 2023

Fixes runtimeverification/kontrol#23

TODO

  • extract python changes to Kontrol
  • add test

Added a new cut cheat code that takes a program counter and will create a new KCFG node whenever that program counter is executed.

  • When the cut is executed in a proof/test, the program counter argument is added to a set in the <cutPC> cell.
  • The #pc [ OP ] rule is overwritten to identify when a program count in the <cutPC> cell is executed.
  • Added an empty foundry.cut rule and marked it as a cut-point rule to create the new node in the kcfg.

@anvacaru
Copy link
Contributor Author

anvacaru commented Nov 8, 2023

Moved this to runtimeverification/kontrol#163.

@anvacaru anvacaru closed this Nov 8, 2023
@anvacaru anvacaru deleted the anvacaru/merge-nodes branch November 8, 2023 07:00
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 this pull request may close these issues.

Usability improvements to foundry-merge-node
1 participant