gcov
简介
使用
#include <stdio.h>
void func(int flags)
{
if (flags)
printf("hello\n");
else
printf("no\n");
}
int main(int argc, char *argv[])
{
func(1);
func(1);
return 0;
}Last updated