summaryrefslogblamecommitdiffstats
path: root/tester/covoar/app_common.h
blob: d28bfd0f5901dc2afe64a655bc6b1ac2082d0818 (plain) (tree)




























                                                                  
#ifndef __APP_COMMON_h
#define __APP_COMMON_h

#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