blob: e4ae8496e74d9a39e0fd8417c9b27586a36dc28b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*! @file CoverageReaderTSIM.h
* @brief CoverageReaderTSIM Specification
*
* This file contains the specification of the CoverageReaderTSIM class.
*/
#ifndef __COVERAGE_READER_TSIM_H__
#define __COVERAGE_READER_TSIM_H__
#include "CoverageReaderBase.h"
#include "ExecutableInfo.h"
namespace Coverage {
/*! @class CoverageReaderTSIM
*
* This class implements the functionality which reads a coverage map
* file produced by TSIM. Since the SPARC has 32-bit instructions,
* TSIM produces a file with an integer for each 32-bit word. The
* integer will have the least significant bit if the address
* was executed.
@verbatim
40000000 : 1 0 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 1
40000080 : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
@endverbatim
*/
class CoverageReaderTSIM : public CoverageReaderBase {
public:
/* Inherit documentation from base class. */
CoverageReaderTSIM();
/* Inherit documentation from base class. */
virtual ~CoverageReaderTSIM();
/* Inherit documentation from base class. */
void processFile(
const char* const file,
ExecutableInfo* const executableInformation
);
};
}
#endif
|