crytic / crytic/slither

Error in running slither analysis using ast generated by solc

Open
#864 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

When I run `slither ast.json` or `slither --solc-ast ast.json` , I get error:
```
slither.exceptions.SlitherError: Invalid compilation:
Incorrect file format
ERROR:root:Error:
ERROR:root:Invalid compilation:
Incorrect file format
```

Also, I would like to know if AST is provided to the command, will it still go for the compilation?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.