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.