summaryrefslogtreecommitdiffstats
path: root/tester/covoar/covoar.cc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* covoar.cc: Fix formattingRyan Long2021-09-131-133/+167
|
* covoar.cc: Convert to C++Ryan Long2021-09-131-27/+23
| | | | Got rid of C-strings, changed FILE pointer to ifstream.
* Remove app_common and all references to itRyan Long2021-08-031-1/+0
| | | | | | - Removed the includes of app_common.h - Removed app_common references in build infrastructure - Removed app_common.cc and app_common.h
* app_common: Remove functions and macrosRyan Long2021-08-031-0/+20
| | | | | | - Moved functions from app_common to the file they are used - Got rid of FileIsNewer() since it's not being used - Removed macros
* Remove TargetInfo global variableRyan Long2021-08-031-2/+7
| | | | | | | - Remove TargetInfo from app_common - Created the targetInfo_m member variable in CoverageReaderBase, TraceWriterBase, and ObjdumpProcessor - Made functions to set the value of targetInfo_m
* Remove BranchInfoAvailable global variableRyan Long2021-08-031-1/+5
| | | | | | - Removed BranchInfoAvailable from app_common - Created member variable in CoverageReaderBase and ReportsBase and a function to get the value of the member variable
* Remove SymbolsToAnalyze global variableRyan Long2021-08-031-16/+24
| | | | | | | | | - 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
* Remove input buffer global variablesRyan Long2021-08-031-0/+3
| | | | | | | - Removed input buffers from app_common and added them as a local variable to functions where inputBuffer was being used - Added #define for MAX_LINE_LENGTH in files where it is used - Changed Explanations::load to use a string instead of a C-string
* Remove outputDirectory global variableRyan Long2021-08-031-1/+3
| | | | | | | | - Replaced outputDirectory in app_common with a local variable in covoar() - Created the outputDirectory_m member variable - Added parameters to Reports* constructors to initialize outputDirectory_m and non member functions
* Remove projectName global variableRyan Long2021-08-031-2/+8
| | | | | | | | - Replaced projectName in app_common with a local variable in covoar() - Changed datatype to string - Changed conditionals to reflect this - Created projectName_m member variable for ReportsBase - Added parameter to Reports* constructors to initialize projectName_m
* Remove dynamicLibrary global variableRyan Long2021-08-031-4/+5
| | | | | | - Replaced dynamicLibrary in app_common with local variables - Changed data type to string - Changed conditionals to reflect this
* Remove Verbose global variableRyan Long2021-08-031-21/+22
| | | | | Replaced Verbose in app_common with local variables that are passed as a parameter into numerous functions
* Remove objdumpProcessor global variableRyan Long2021-08-031-5/+3
| | | | | | | | | | - Replaced objdumpProcessor in app_common with a local variable in TraceConverter.cc and covoar.cc - Added objdumpProcessor as a parameter for GenerateReports() and the processFile() member function of TraceReaderBase and its derived classes - Changed previous objdumpProcessor member functions calls from pointer to direct call syntax
* Remove AllExplanations global variableRyan Long2021-08-031-4/+4
| | | | | | | | | - Replaced AllExplanations in app_common with a local variable in covoar() - Added the allExplanations_m member variable to ReportsBase - Added a parameter to ReportsBase and its derived classes' constructors to initialize allExplanations_m - Added parameter to GenerateReports() to pass the variable from covoar() to the constructors for Reports*
* covoar: Split symbols by symbol setAlex White2021-04-061-2/+4
| | | | | | | | | | | | | 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
* covoar: Fix DWARF readingAlex White2021-03-301-55/+55
| | | | | | | There were a couple of issues with the way the DWARF info was being read. The first issue was that it inefficiently included all symbols, even symbols that were not desired. The second issue is that it did not handle inline functions correctly. These have been fixed.
* covoar: enable -f switch to select other coverage formatsJiri Gaisler2019-01-251-1/+2
|
* tester/covoar: Integrate DWARF function data.Chris Johns2018-08-071-12/+8
| | | | | | | | | | | | | | | | 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.
* covoar: Address kill() on CygwinJoel Sherrill2018-06-221-1/+1
|
* tester: Correct usage for covoar.Chris Johns2018-06-181-1/+1
|
* tester/covoar: Remove all exit() calls and throw an rld::error exception.Chris Johns2018-06-181-96/+136
| | | | Add a suitable catch to covoar's main.
* covoar: Control the RLD verbose level from the -v option.Chris Johns2018-06-151-1/+2
|
* covoar: Use DWARF to map addresses to source files and lines.Chris Johns2018-06-151-1/+1
|
* covoar: Fix build path checks for multiple executables.Cillian O'Donnell2018-05-141-7/+3
|
* tester/covoar: Remove the C part of main and convert to C++Chris Johns2018-05-011-145/+98
| | | | This is a clean up.
* covoar: Add symbol set reader and ELF data parser to covoar.Cillian O'Donnell2018-05-011-111/+189
| | | | | | | | | | | | | | 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>
* tester/covoar/covoar.cc: Add missing throw keywordJoel Sherrill2018-01-021-1/+1
| | | | | | Why clang caught this and gcc didn't is a mystery. Updates #3191.
* tester/covoar/covoar.cc: Exit using exit() rather than just throwing.Joel Sherrill2017-12-051-4/+4
| | | | Closes #3191.
* tester/covoar/covoar.cc: Clean up formatting (tabs, braces, indentation, etc)Joel Sherrill2017-12-051-107/+114
|
* covoar: Add function defs to fix Windows build errors.Cillian O'Donnell2017-09-141-0/+4
| | | | Closes #3129
* covoar: Remove config file and test critical options are valid.Cillian O'Donnell2017-08-291-101/+63
|
* covoar: Use rld tempfile and add signals to clean up in event of crash.Cillian O'Donnell2017-08-291-3/+52
| | | | | Use rld tempfile for temporary files and add fatal signal handling to clean them up in the event of a crash.
* Fix covoar so it builds for Windows.Chris Johns2015-01-201-5/+5
|
* covoar: Merger the covoar source from rtems-testing.git.Chris Johns2014-06-181-0/+507
Use waf to build covoar.