2

My build directory contains .gcno and .gcda files. When I open the directory with CoverStory, everything shows up fine.

My ultimate goal is to read the gcov output (.gcno and .gcda files), but these two file types are in binary format. Is there a way to read them via Terminal so that I can save the text equivalent to a text file?

Thanks!

4

4 に答える 4

3

これらのファイルを ASCII 形式に変換する簡単な方法はありません。興味がある場合は、ファイル形式の仕様をここで見つけることができます。

http://src.gnu-darwin.org/src/contrib/gcc/gcov-io.h.html

gcov プログラムは、これらのファイルの処理済みバージョンを (ソース ファイルのカバレッジ分析の形式で) 表示できます。

于 2012-07-26T21:19:53.120 に答える