a16z / halmos

A symbolic testing tool for EVM smart contracts
GNU Affero General Public License v3.0
802 stars 65 forks source link

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

Open daejunpark opened 4 hours ago

daejunpark commented 4 hours ago

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: