RTEMS-covmerge

Joel Sherrill joel.sherrill at OARcorp.com
Fri Mar 11 16:16:55 UTC 2011


On 03/10/2011 05:38 PM, domenico.dileo at unina.it wrote:
>
> hi,
>
> Has anyone experience with covmerge?
>
Yes.  At least some OAR folks and the GSoC students who have
done coverage work.  covmerge was the original tool.  covoar
in the rtems-testing CVS module is what you want.  There are
supporting scripts in rtems-coverage to run covoar on RTEMS.

FWIW covmerge assumed that the symbols of interest were in
a contiguous address space that was the same in ALL executables.
This required some magic when linking the tests.  covoar is a
next generation program which takes a list of symbols and accounts
for them being at different addresses in different tests.  It knows
the sizes and offsets of instructions are the same so it can merge
the coverage information of multiple programs using the same
method.

covoar is also smart enough to handle branch coverage.
All of the data at the following URL is generated by covoar
and the scripts in rtems-coverage

http://www.rtems.org/ftp/pub/rtems/people/joel/coverage/

Remember this requires a simulator which has a BSP and the simulator
captures coverage and/or trace information.

-joel
>
> Domenico Di Leo, PhD student, Università degli Studi di Napoli Federico II
> Ph:     +39 081 676770
> Fax:    +39 081 676574
> Web: http://wpage.unina.it/domenico.dileo
>


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the users mailing list