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

feat: consider various lengths for dynamic-sized parameters #384

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

daejunpark
Copy link
Collaborator

@daejunpark daejunpark commented Oct 2, 2024

Previously, only a single length for dynamic-sized parameters in test functions was considered.

Now, users can specify multiple lengths, and all possible combinations of these lengths will be considered during symbolic execution. Also, users can now set default lengths for dynamic arrays independently of the loop unrolling bound, whereas they were previously tied to the --loop value implicitly.

Flags to specify lengths:

  • --array-lengths: specifies lengths for dynamic parameters (including dynamic arrays, bytes, and strings)
  • --default-array-lengths: set default lengths for dynamic arrays (default: 0,1,2)
  • --default-bytes-lengths: set default lengths for bytes and strings (default: 0,65,1024)

@daejunpark daejunpark marked this pull request as ready for review October 3, 2024 00:35
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.

1 participant