[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-dev] Query On Csmith


I am new to Csmith. I have built Csmith(2.4.0) on Ubuntu, can generate C program using Csmith.

I have some query regarding coverage.

I have compiled the C program generated by Csmith using GCC compiler and used Gcov to get the coverage of that C program.

The command I used as follows

Csmith --concise -o csmith.c
gcc -fprofile-arcs -ftest-coverage csmith.c
Gcov csmith.c
Gedit csmith.c.gcov

Is my procedure is correct? Please Suggest.

Thanks in advance.