fuzzland / ityfuzz

Blazing Fast Bytecode-Level Hybrid Fuzzer for Smart Contracts

Home Page:https://docs.ityfuzz.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to set a time limit when testing a smart contract?

nicedinner2 opened this issue · comments

When I test a contract using the command "ityfuzz evm -t './build/*'", the program keeps running indefinitely. How can I set a time limit or stop the program from running? I look forward to your answer. Thank you.

You can do something like this:

mac:

gtimeout 10s ityfuzz  evm -t './build/*'

linux:

timeout 10s ityfuzz  evm -t './build/*'