summaryrefslogtreecommitdiffstats
path: root/tester/covoar/DesiredSymbols.cc (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-08-03Remove app_common and all references to itRyan Long1-1/+0
- Removed the includes of app_common.h - Removed app_common references in build infrastructure - Removed app_common.cc and app_common.h
2021-08-03Remove SymbolsToAnalyze global variableRyan Long1-5/+7
- Removed SymbolsToAnalyze from app_common and replaced it with the symbolsToAnalyze_m member variable in DesiredSymbols, GcovData, and ObjdumpProcessor - Added a parameter to constructors to initialize symbolsToAnalyze_m - Moved the definition of objdumpLine_t out of ObjdumpProcessor to make it work with DesiredSymbols
2021-08-03Remove Verbose global variableRyan Long1-8/+9
Replaced Verbose in app_common with local variables that are passed as a parameter into numerous functions
2021-06-04covoar: Fix single-byte uncovered rangesAlex White1-1/+1
This fixes a bug where covoar reports uncovered ranges of size 1. When a NOP instruction is encountered at the end of a function, the remaining non-instruction bytes are marked as executed. The loop that marks the remaining bytes as executed was not considering the last address of the function. Closes #4448
2021-06-04DesiredSymbols.cc: Fix resource leakRyan Long1-2/+2
CID 1503018: Resource leak in load(). Closes #4421
2021-04-06covoar: Split symbols by symbol setAlex White1-212/+253
This changes the way covoar organizes the symbols. Instead of treating all symbols as one set, covoar is now aware of multiple symbol sets and tracks statistics for each set. It now also generates reports for each symbol set. This change relieves the caller of covoar of the reponsibility of managing the symbol sets. As a result, covoar can minimize the work done for each symbol set, yielding a significant speedup. Updates #4374
2021-03-30covoar/reports: Add new statistics to summaryAlex White1-0/+10
The following new statistics have been added to the summary report: number of unreferenced symbols, total branch paths found, number of branch paths not executed, and percentage of branch paths covered.
2021-03-30covoar: Fix NOP execution markingAlex White1-7/+31
Some NOP instructions were not being marked as executed because they are located at the end of uncovered ranges. This has been fixed.
2019-01-25covoar: debug print-out of addresses should be in hexJiri Gaisler1-0/+1
2018-11-29tester/coverage: Remove warnings in covoar on Windows.Chris Johns1-1/+1
2018-08-07tester/covoar: Integrate DWARF function data.Chris Johns1-17/+16
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-06-18tester/covoar: Remove all exit() calls and throw an rld::error exception.Chris Johns1-32/+11
Add a suitable catch to covoar's main.
2018-06-15covoar: Refactor DesiredSymbols.cc to C++11.Chris Johns1-289/+210
2018-06-15covoar: Use DWARF to map addresses to source files and lines.Chris Johns1-117/+6
2018-05-25tester/covoar: Do not load an executable's local symbols.Chris Johns1-4/+0
2018-05-01covoar: Add symbol set reader and ELF data parser to covoar.Cillian O'Donnell1-61/+83
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>
2017-09-14tester/covoar/DesiredSymbols.cc: Now compiles on CygwinJoel Sherrill1-0/+4
2017-09-14covoar: Add function defs to fix Windows build errors.Cillian O'Donnell1-1/+1
Closes #3129
2017-08-29covoar: Add information to improve diagnostics.Hermann Felbinger1-7/+18
2015-01-20Fix covoar so it builds for Windows.Chris Johns1-12/+15
2014-06-18covoar: Merger the covoar source from rtems-testing.git.Chris Johns1-0/+692
Use waf to build covoar.