Skip to content

Only verify suitable methods#1431

Merged
elopez merged 7 commits intocrytic:masterfrom
gustavo-grieco:dev-filter-methods-to-verify
Aug 27, 2025
Merged

Only verify suitable methods#1431
elopez merged 7 commits intocrytic:masterfrom
gustavo-grieco:dev-filter-methods-to-verify

Conversation

@gustavo-grieco
Copy link
Copy Markdown
Collaborator

This PR adds a missing feature from the new symbolic execution capabilities: run some basic checks to verify functions to make sense to verify. In verification mode, we excluded:

  • Functions without arguments (e.g. unit tests)
  • Function without assert detected. If no asserts are detected, all the methods are considered valid.
  • Functions that have dynamic data structures are parameters.

@gustavo-grieco gustavo-grieco requested a review from arcz as a code owner August 24, 2025 19:45
@gustavo-grieco gustavo-grieco requested a review from elopez as a code owner August 26, 2025 11:07
@elopez elopez merged commit 103f0a7 into crytic:master Aug 27, 2025
15 checks passed
datradito pushed a commit to datradito/echidna-mcp that referenced this pull request Dec 29, 2025
* filter only suitable methods to verify

* disable slither for verify.sol test

* fix sym-exec-targets selection

* added TODO notes
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.

2 participants