Skip to content

Validate config to avoid VM errors #765

@0xalpharush

Description

@0xalpharush

If a config file has large values, it causes an error that is only evident when running --format text e.g. echidna: VM attempted an illegal operation: IllegalOverflow
Ex:

propMaxGas: 0xfffffffffffffffffffffffffffff
testMaxGas: 0xfffffffffffffffffffffffffffff
codeSize: 0xfffffffffffffffffffffffffffff

Add data validation to config parsing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions