gongbell / ContractFuzzer

The Ethereum Smart Contract Fuzzer for Security Vulnerability Detection (ASE 2018)
226 stars 85 forks source link

How to create files required in verified_contract_bin_sig (function signature pairs from contract's bin) #20

Open Harsh30199 opened 2 years ago

Harsh30199 commented 2 years ago

Hi,

I am beginner solidity learner, I was trying out your tool for my custom SmartContract but am unable to figure out how to get the information to be specified in verified_contract_bin_sig (function signature pairs from contract's bin) folder given as example in repo.

rajguru7 commented 2 years ago

The bin_sig file contains mapping of the function hashes that are called from inside a particular contract function. You will need to create that file ONLY IF you are calling other contracts' functions from inside your contract function AND you are passing the destination contract address as an argument to a function in your contract. Else, you don't need to create it.