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

Generate more helpers for loop specifications #74

Open
4 tasks
anvacaru opened this issue Feb 27, 2023 · 1 comment
Open
4 tasks

Generate more helpers for loop specifications #74

anvacaru opened this issue Feb 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@anvacaru
Copy link
Contributor

anvacaru commented Feb 27, 2023

Generate more helpers for loop specifications:

  • Extract from the solidity compiler the loop head points, and generated K macros which allow making more resilient specs.
  • Generate specs automatically for loops in copying/encoding data (Solidity compiler generic loops).
  • Generate spec templates for other loops, which then can have the actual invariant filled in manually.
  • Annotate the Solidity with comments to name each loop, so we can easily refer to them in the loop invariant using some sugared syntax for each contract.
@palinatolmach palinatolmach added the enhancement New feature or request label Jul 26, 2023
@palinatolmach
Copy link
Collaborator

As discussed with @ehildenb, we can generate macros for function entry/exit points, including those of internal functions, which can be useful for compositional symbolic execution (#130).

@palinatolmach palinatolmach transferred this issue from runtimeverification/evm-semantics Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants