Comments (1)
It's definitely possible using echidna as a library, you'd just wanna write something like checkETest
but with some argument logic. You could either hardcode your addresses and check them exhaustively and keep the type, or make something of type MonadGen m => VM -> m Bool
and write something like eCommand
but with a more constrained m
so you can actually fuzz the addresses. I think the simplest way to do the former is just and <$> forM (addresses :: [AbiValue]) $ \a -> [some test parametrized on an address, returning a bool]
.
I'm not sure I can think of a general way to have tests with arguments in the CLI that I'm happy with, so I'll close this for now, but if you have a more specific behavior you'd like to see I'm happy to investigate that.
from echidna.
Related Issues (20)
- [Bug-Candidate]: Unequal work spread across workers on corpus replay is bottlenecked by worker 0
- [Bug-Candidate]: Maximize CPU output when running fuzzer HOT 2
- Show coverage on constructors
- [Bug-Candidate]: Inconsistent "thread blocked indefinitely in an mvar operation"
- Consider printing out hexadecimal representation of panics and the error msg for a specific panic HOT 3
- Provide more information on debugging `error Revert 0x`
- Increased documentation on config values and how they skew
- [Bug-Candidate]: Fix coverage report HOT 2
- Allow echidna to pin to specific system variables, and only show the value of those variables after each failed call sequence
- Opcode "mcopy" not implemented HOT 1
- [Bug-Candidate]: echidna: thread blocked indefinitely in an MVar operation HOT 3
- Feature Request: Continuously save progress while shrinking HOT 1
- [Bug-Candidate]: Echidna can get stuck while shrinking HOT 2
- [Bug-Candidate]: Minor log message tweak HOT 2
- Improve UX around configuring Etherscan API key HOT 4
- Support `startPrank` and `stopPrank`
- Feature Request: Option to disable Etherscan downloads with onchain fuzzing HOT 3
- [Bug-Candidate]: Sequences from corpus do not adhere to time/block delay settings HOT 4
- Feature Request: Support for logging in view functions like Foundry's `console2` HOT 1
- [Bug-Candidate]: HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echidna.