Vijay Kumar Banerjee
18d3daa237
covoar/wscript: Install covoar.css and table.js
2020-01-28 08:36:50 +11:00
Chris Johns
d7979dece6
waf: Update the check_cc tests to a newer method supported by waf.
...
- Fix a minor issue in covoar's use of 64bit calls.
2019-05-27 10:08:27 +10:00
Vijay Kumar Banerjee
4828c19d38
Coverage : Add coverage support for RISCV
2019-02-12 16:18:19 -06:00
Jiri Gaisler
c553ccdd1e
covoar: wrong symbol length in coverage map
2019-01-25 16:40:29 +01:00
Jiri Gaisler
dd6a10dfe6
covoar: enable -f switch to select other coverage formats
2019-01-25 16:39:18 +01:00
Jiri Gaisler
dd3d0cc5bf
covoar: debug print-out of addresses should be in hex
2019-01-25 16:36:24 +01:00
Chris Johns
61410dbcc8
tester/coverage: Remove warnings in covoar on Windows.
2018-11-29 08:37:22 +11:00
Vijay Kumar Banerjee
a1498ab899
Coverage : install covoar in tester/bin
2018-11-27 16:55:26 +11:00
Chris Johns
a3a1364115
covoar: Close the ELF and DWARF handles once the data is loaded.
...
This avoids the processing being killed with to many file handles
open.
2018-08-21 14:45:25 +10:00
Chris Johns
99c90b3353
tester/covoar: Integrate DWARF function data.
...
Use DAWRF function data to create the executable coverage
maps. Integrate the existing objdump processing with this
data.
- Refactor CoverageMapBase to have the address ranges
and address info as separate objects. Move the
to address info into a vector. Add support for
multiple address ranges.
- DesiredSymbols is only interested in function symbols.
- ExecutableInfo creates coverage maps from DWARF function
data.
- Add warning flags to the covoar build.
- Varous C++11 refactoring.
2018-08-07 09:11:29 +10:00
Joel Sherrill
e86646c36c
covoar: Address kill() on Cygwin
2018-06-22 10:05:55 -05:00
Chris Johns
bf8e59f83b
covoar: Covert CoverageMapBase C to C++
...
Updates #3462
2018-06-21 17:55:24 +10:00
Chris Johns
8009d08a9f
tester: Correct usage for covoar.
2018-06-18 12:26:16 +10:00
Chris Johns
d6ae3ae744
tester/covoar: ExecutableInfo C to C++ change.
2018-06-18 12:26:16 +10:00
Chris Johns
881824f766
tester/covoar: Remove all exit() calls and throw an rld::error exception.
...
Add a suitable catch to covoar's main.
2018-06-18 12:26:16 +10:00
Chris Johns
dbb56a823c
covoar: Add libdwarf to the include path.
2018-06-15 15:54:25 +10:00
Chris Johns
cdfc56a9c9
covoar: Control the RLD verbose level from the -v option.
2018-06-15 15:54:25 +10:00
Chris Johns
efbf8f05fd
covoar: Refactor DesiredSymbols.cc to C++11.
2018-06-15 15:54:25 +10:00
Chris Johns
fb987e82be
covoar: Use DWARF to map addresses to source files and lines.
2018-06-15 15:54:25 +10:00
Chris Johns
e04699bf55
tester/covoar: Do not load an executable's local symbols.
2018-05-25 09:25:38 +12:00
Cillian O'Donnell
70dac81c29
covoar: Fix build path checks for multiple executables.
2018-05-14 15:06:19 -05:00
Chris Johns
14c7f256c3
tester/covoar: Remove the C part of main and convert to C++
...
This is a clean up.
2018-05-01 09:00:35 +10:00
Cillian O'Donnell
3e187baeb9
covoar: Add symbol set reader and ELF data parser to covoar.
...
Add ability to organize symbol sets of libraries in INI file
and then read them with covoar and load the symbols directly from the
libraries.
rtems-tools/../testing: Add configuration files for coverage analysis.
A number of covoar options are not required and are defaulted.
Co-author: Krzysztof Miesowicz <krzysztof.miesowicz@gmail.com >
Co-author: Vijay Kumar Banerjee <vijaykumar9597@gmail.com >
Co-author: Chris Johns <chrisj@rtems.org >
2018-05-01 09:00:35 +10:00
Joel Sherrill
033344235c
tester/covoar/covoar.cc: Add missing throw keyword
...
Why clang caught this and gcc didn't is a mystery.
Updates #3191 .
2018-01-02 16:59:31 -06:00
Joel Sherrill
b516a581a3
tester/covoar/covoar.cc: Exit using exit() rather than just throwing.
...
Closes #3191 .
2017-12-05 08:03:44 -06:00
Joel Sherrill
149144fef9
tester/covoar/covoar.cc: Clean up formatting (tabs, braces, indentation, etc)
2017-12-05 08:01:49 -06:00
Chris Johns
0054585256
tester/covoar: Use standard waf modules for linking.
...
Use the standard modules `use` option for building executables and
let waf figure out the platform specifics.
Closes #3190 .
2017-10-13 09:31:47 -07:00
Joel Sherrill
f4378eaac7
tester/covoar/DesiredSymbols.cc: Now compiles on Cygwin
2017-09-14 18:04:55 -05:00
Cillian O'Donnell
f4773ac5c7
covoar: Add function defs to fix Windows build errors.
...
Closes #3129
2017-09-14 12:22:01 +10:00
Chris Johns
cb0677b05c
Add Windows includes so the rtemstoolkit builds.
...
Closes #3128 .
2017-09-11 07:15:02 +10:00
Cillian O'Donnell
f9a4b2c4c1
covoar: Remove config file and test critical options are valid.
2017-08-29 18:06:24 +10:00
Cillian O'Donnell
46009037b8
covoar/CoverageReaderQEMU.cc: Remove trace block matching check.
...
This removes the 'Trace block inconsistent with coverage map' check as it was
deemed to be too restrictive and not neccessary.
2017-08-29 18:06:17 +10:00
Cillian O'Donnell
6a4859e627
covoar: Use rld tempfile and add signals to clean up in event of crash.
...
Use rld tempfile for temporary files and add fatal signal handling to clean
them up in the event of a crash.
2017-08-29 18:06:11 +10:00
Krzysztof Miesowicz
4cee5c3d2f
covoar/wscript: Add paths to rtemstoolkit to build.
...
Co-Author: Cillian O'Donnell <cpodonnell8@gmail.com >
2017-08-29 18:06:05 +10:00
Cillian O'Donnell
953415779a
covoar/ObjdumpProcessor.cc: Remove jump tables from the end of symbols.
...
Some tests objdumps have jump tables added to the end of them causing the
same symbols to have different sizes when processed. This removes them and
their associated errors.
2017-08-29 18:06:00 +10:00
Hermann Felbinger
cb018bcdff
covoar: Add information to improve diagnostics.
2017-08-29 18:05:51 +10:00
Hermann Felbinger
b857151112
covoar: Fix buffer overflow and fix br tag in html report.
...
Co-Author: Krzysztof Miesowicz <krzysztof.miesowicz@gmail.com >
2017-08-29 18:05:38 +10:00
Fabien Chouteau
05b4cfbfc1
covoar/qemu-traces.h: Change to match current couverture-qemu file.
2017-08-29 18:05:13 +10:00
Chris Johns
7148caeb91
Add Windows specific waf support for MSYS2.
...
Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.
Force the os.sep path to the standard '\\' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.
Closes #2583 .
2016-02-19 14:51:28 +11:00
Chris Johns
a8c4f3f26c
Update the Windows header to direct.h for _mkdir per the MSDN.
2015-02-16 11:30:31 +11:00
Chris Johns
f381f26e9b
Fix covoar so it builds for Windows.
2015-01-20 08:56:14 +11:00
Chris Johns
749ddf1ed5
waf: Include waf in the souce tree and updated README on building.
...
Add support to build all parts of The RTEMS Tools project.
2014-09-13 10:47:07 +10:00
Chris Johns
100f517ab3
covoar: Merger the covoar source from rtems-testing.git.
...
Use waf to build covoar.
2014-06-18 16:48:08 +12:00