mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-15 10:36:15 +08:00

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>
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
#ifndef __APP_COMMON_h
|
|
#define __APP_COMMON_h
|
|
|
|
/*
|
|
* This file needs to be removed and these globals removed from the
|
|
* global scope. For example SymbolsToAnalyze is never destructed.
|
|
*/
|
|
|
|
#include <list>
|
|
|
|
#include "DesiredSymbols.h"
|
|
#include "Explanations.h"
|
|
#include "TargetBase.h"
|
|
|
|
extern Coverage::Explanations* AllExplanations;
|
|
extern Coverage::ObjdumpProcessor* objdumpProcessor;
|
|
extern Coverage::DesiredSymbols* SymbolsToAnalyze;
|
|
extern bool Verbose;
|
|
extern const char* outputDirectory;
|
|
extern bool BranchInfoAvailable;
|
|
extern Target::TargetBase* TargetInfo;
|
|
extern const char* dynamicLibrary;
|
|
extern const char* projectName;
|
|
|
|
#define MAX_LINE_LENGTH 512
|
|
extern char inputBuffer[MAX_LINE_LENGTH];
|
|
extern char inputBuffer2[MAX_LINE_LENGTH];
|
|
|
|
|
|
bool FileIsNewer( const char *f1, const char *f2 );
|
|
bool FileIsReadable( const char *f1 );
|
|
bool ReadUntilFound( FILE *file, const char *line );
|
|
|
|
#endif
|