Closed wop55 closed 1 year ago
Compiled a test program: gcc main.c -o hello
The program is a small main function with some if statements depending on argv.
running: ../kcov /tmp ./hello 1 2 3 4
the generated index.html file says that 0 lines instrumented, and NAN coverage was generated.
What am I missing?
You'll need debug symbols, so try compiling with
gcc -g main.c -o hello
Compiled a test program: gcc main.c -o hello
The program is a small main function with some if statements depending on argv.
running: ../kcov /tmp ./hello 1 2 3 4
the generated index.html file says that 0 lines instrumented, and NAN coverage was generated.
What am I missing?