Open avniculae opened 1 year ago
Thanks for reporting this and providing the branch! Until this is fixed, you may be able to work around this by creating a slither.config.json
in integration/
and adding { "no_fail": true }
to the config file.
Hey @0xalpharush ! Thanks for your reply, this indeed makes echidna run. However, what are the consequences of this config? Will coverage-guided fuzzing still work?
Slither gives Echidna a few special values it extracts from the source code, but this is probably not going to impact the effectiveness of fuzzing for your contracts, so it's fine to ignore slither failing. Echidna will still use coverage guided fuzzing, yes.
Describe the issue:
Hey! I am getting this Slither error when trying to run Echidna on a minimal fuzzing harness
Slither Error
``` ERROR:ContractSolcParsing:Missing inheritance ERC721URIStorage (8f9ec1f5c5841d1dfa53980de0971b66) Missing inheritance ID: 81571 Inheritance found: - ERC721 (ID 30473) - IERC4906 (ID 29440) ERROR:ContractSolcParsing:Missing inheritance AccessPassNFT (8f9ec1f5c5841d1dfa53980de0971b66) Missing inheritance ID: 81571 Inheritance found: - ERC721URIStorage (ID 1785) - Ownable (ID 112) ERROR:ContractSolcParsing:Missing inheritance ERC20Mock (8f9ec1f5c5841d1dfa53980de0971b66) Missing inheritance ID: 81571 Inheritance found: - ERC20 (ID 702) Traceback (most recent call last): File "/opt/homebrew/Cellar/slither-analyzer/0.9.6/libexec/lib/python3.11/site-packages/slither/solc_parsing/slither_compilation_unit_solc.py", line 725, in _analyze_content_top_level_function func_parser.analyze_content() File "/opt/homebrew/Cellar/slither-analyzer/0.9.6/libexec/lib/python3.11/site-packages/slither/solc_parsing/declarations/function.py", line 309, in analyze_content node_parser.analyze_expressions(self) File "/opt/homebrew/Cellar/slither-analyzer/0.9.6/libexec/lib/python3.11/site-packages/slither/solc_parsing/cfg/node.py", line 37, in analyze_expressions expression = parse_expression(self._unparsed_expression, caller_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/slither-analyzer/0.9.6/libexec/lib/python3.11/site-packages/slither/solc_parsing/expressions/expression_parsing.py", line 344, in parse_expression return parse_call(expression, caller_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/slither-analyzer/0.9.6/libexec/lib/python3.11/site-packages/slither/solc_parsing/expressions/expression_parsing.py", line 172, in parse_call arguments = [parse_expression(a, caller_context) for a in expression["arguments"]] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/slither-analyzer/0.9.6/libexec/lib/python3.11/site-packages/slither/solc_parsing/expressions/expression_parsing.py", line 172, inCode example to reproduce the issue:
I have pushed the harness on this branch. To reproduce the issue, please first follow the instructions in the README to compile the contracts. Then, run the following commands:
Version:
0.9.6
Relevant log output:
No response