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 properties verifier mode #1664

Closed
montyly opened this issue Apr 13, 2020 · 1 comment · Fixed by #1717
Closed

Add properties verifier mode #1664

montyly opened this issue Apr 13, 2020 · 1 comment · Fixed by #1717
Assignees
Labels
Projects

Comments

@montyly
Copy link
Member

montyly commented Apr 13, 2020

We should add a cli-option, were given a contract, a prefix and a number of transactions:

manticore-verifier . --contract MyContract --txs 2 --prefix crytic_

Manticore would:

  • Deploy the contract MyContract
  • Call the contract with 2 symbolic transaction (with a filter on constant functions)
  • Between each symbolic transaction, every functions that start with crytic_ will be checked

The goal is to have a common framework for which we can check properties with Echidna and Manticore without extra effort. This should also be compatible with the upcoming slither-prop tool.

For the long run, we can integrate other stuff like:

  • If the function is prefix_ + revert , then the property should revert and not fail
  • We could integrate some info from the Slither's echidna printer (ex: what are the list of function that impact the other functions, to filter the symbolic transactions, the functions with assert to be checked)
@feliam feliam self-assigned this Apr 23, 2020
@MatthewARinehart MatthewARinehart added this to Backlog in Manticore Jun 11, 2020
@ehennenfent ehennenfent linked a pull request Jun 11, 2020 that will close this issue
@MatthewARinehart
Copy link

Manticore verifier merged to master from prioritization exercise

@ehennenfent ehennenfent moved this from Backlog to In progress in Manticore Jun 18, 2020
@ehennenfent ehennenfent moved this from In progress to Review in progress in Manticore Jun 19, 2020
Manticore automation moved this from Review in progress to Done Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Manticore
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants