Support configuration via halmos.toml #125
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Problem
Currently, halmos only supports configuration via command line arguments. There are problems with this:
Solution
Having a config file that one can check in to version control would help with all these.
Halmos would first look for that config file, load these settings as a baseline, and then use command line arguments as an override.
Alternatives
Couple options:
[symbolic]
profile in foundry.toml, an approach seen in https://github.com/baolean/symexec-bench/blob/symtest/SymTest/foundry.toml(2.) is nice because it lets developers use a well known format, and the
[symbolic]
section feels right at home next to[fuzz]
, but I think overall I prefer (1.) because it reduces coupling with foundry. Foundry is nice, but it would seem weird to force users to use it if we support different frontends in the future (e.g. vyper)The text was updated successfully, but these errors were encountered: