Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

afl-cov is not working with coroutines #55

Open
PiotrConclusive opened this issue Sep 6, 2023 · 1 comment
Open

afl-cov is not working with coroutines #55

PiotrConclusive opened this issue Sep 6, 2023 · 1 comment

Comments

@PiotrConclusive
Copy link

Hi, I've encountered an issue with code coverage in C++ code that uses coroutines. Here is a repository with a demo on how to reproduce the described situation:

https://github.com/PiotrConclusive/afl-cov-coroutines/tree/master

I've been using afl-g++ in a Docker environment provided by the afl project:
https://github.com/AFLplusplus/AFLplusplus/blob/stable/Dockerfile

In the repository, there is an attached report at https://github.com/PiotrConclusive/afl-cov-coroutines/blob/master/aflOut/cov/web/index.html, where you can see that some lines in coroutine functions appear white.

image

@ratagupt
Copy link

ratagupt commented Sep 7, 2023

@mrash : Can you throw some light here, We are also hitting the similar problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants