gcov and flow control graph

2018-08-13 Thread daro_ox
Hello, After compilation of source code with flags -fprofile-arcs, -ftest-coverage and -fdump-tree-cfg-graph-lineno i get file with extension .cfg.dot which can be opened in graphviz, and files with extensions .gcda and .gcno when the program is executed. With gcov those files can be convert

gcov questions

2018-08-09 Thread daro_ox
Hello, I wanted to ask what model for branch coverage does gcov use? Would it be branch, decision, condition coverage or some modification like branch condition, branch condition combination or modified condition decision coverage (MCDC)? Also for a simple example as below: uint8 Func(uint8