0.1.3 • Published 5 years ago

perfaflsol v0.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Installation

NodeJs

If you haven't installed NodeJS yet, run the following commands

# Install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Install latest node
nvm install node

Install solcjs

# Install solcjs
npm i -g solc

Install our tools

npm i -g aflsol

How to fuzz

  1. Create Project folder
cd /your/project/folder
aflsol init # it will create contracts/ and testcases/ folder
  1. Copy .abi and .bin file of your contract to contracts/ folder.
  2. Run fuzz in your project folder, for example: your abi file name is fuzzer.abi
cd /your/project/folder
aflsol fuzz fuzzer.abi 600 # 600 is duration in seconds