google / google/atheris

GCOV instrumentation `.gcda` fails when run by atheris

Open
#42 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
1.7k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

We found that:
1. A Python library whose kernel is implemented in C/C++ with GCOV instrumentation;
2. Running it natively produces the coverage data `.gcda`;
3. Running it with Atheris will not produce the coverage `.gcda`;

Since atheris is a fuzzing tool and coverage information is very important as feedback, can we somehow try to support having dumped `.gcda` while running atheris? Thanks!

The re-producible is shown here:

https://colab.research.google.com/drive/1LQ69TIQqDZeuSC7FYOQxnAIGAwNFNQ6P?usp=sharing

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.