diff --git a/.gitignore b/.gitignore index 862f14a..e76bce3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build +cov *.out *.o *.s \ No newline at end of file diff --git a/cov.sh b/cov.sh new file mode 100644 index 0000000..ff67644 --- /dev/null +++ b/cov.sh @@ -0,0 +1,5 @@ +mkdir -p cov && cd cov && +rm * +gcc --coverage -g -O0 ../boot.c +./a.out < ../boot.c > /dev/null +gcov a-boot.c