ethereum / ethereum/cable

how to detect coverage in solidity compiler

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CMake
Stars
37
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I switch OFF to ON before compile solidity [coverage switch](https://github.com/ethereum/solidity/blob/develop/cmake/EthCompilerSettings.cmake#L249).

When I used afl cov in conjunction with solc to test coverage, the following error occurred:
![1713431781270](https://github.com/ethereum/cable/assets/147013944/f5149ef2-8ce4-4ddc-86be-12439195a9e4)

May I ask what the reason is?
Why does Solc not support coverage detection, or how can we detect Solc's coverage?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.