crytic / crytic/crytic-compile

(re)Add support for ast only file

Open
#187 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
197
Forks
97
PR merge metrics
No merged PRs in 30d

Description

With https://github.com/crytic/slither/pull/823, we removed the support for AST-only file in Slither.

We could re-add this support by adding a ast-only platform in crytic-compile.

Ideally the contract is compiled with `abi,ast,bin,bin-runtime,srcmap,srcmap-runtime,userdoc,devdoc,hashes,compact-format`, but we could allow a best-effort approach here.

The main difficulty that I can see here is that Slither now relies more on the source code being accessible, so we might need to disable some analyses in Slither.

Related https://github.com/crytic/slither/issues/864

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.