summaryrefslogtreecommitdiffstats
path: root/tester/covoar/CoverageReaderRTEMS.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-05-09 21:50:37 +1000
committerChris Johns <chrisj@rtems.org>2014-06-18 16:48:08 +1200
commit100f517ab37265acdf067e36b6860020ec8b2184 (patch)
tree2316c8b888e11dcbcfbfc66a0c1e31991ea20656 /tester/covoar/CoverageReaderRTEMS.h
parent4.11: Add ntp patch. (diff)
downloadrtems-tools-100f517ab37265acdf067e36b6860020ec8b2184.tar.bz2
covoar: Merger the covoar source from rtems-testing.git.
Use waf to build covoar.
Diffstat (limited to 'tester/covoar/CoverageReaderRTEMS.h')
-rw-r--r--tester/covoar/CoverageReaderRTEMS.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/tester/covoar/CoverageReaderRTEMS.h b/tester/covoar/CoverageReaderRTEMS.h
new file mode 100644
index 0000000..0b30285
--- /dev/null
+++ b/tester/covoar/CoverageReaderRTEMS.h
@@ -0,0 +1,44 @@
+/*! @file CoverageReaderRTEMS.h
+ * @brief CoverageReaderRTEMS Specification
+ *
+ * This file contains the specification of the CoverageReaderRTEMS class.
+ */
+
+#ifndef __COVERAGE_READER_RTEMS_H__
+#define __COVERAGE_READER_RTEMS_H__
+
+#include "CoverageReaderBase.h"
+#include "ExecutableInfo.h"
+
+namespace Coverage {
+
+ /*! @class CoverageReaderRTEMS
+ *
+ * This class implements the functionality which reads a coverage map
+ * file produced by RTEMS. Since the SPARC has 32-bit instructions,
+ * RTEMS produces a file with an integer for each 32-bit word. The
+ * integer will have the least significant bit set if the address
+ * was executed.
+@verbatim
+TBD
+@endverbatim
+ */
+ class CoverageReaderRTEMS : public CoverageReaderBase {
+
+ public:
+
+ /* Inherit documentation from base class. */
+ CoverageReaderRTEMS();
+
+ /* Inherit documentation from base class. */
+ virtual ~CoverageReaderRTEMS();
+
+ /* Inherit documentation from base class. */
+ void processFile(
+ const char* const file,
+ ExecutableInfo* const executableInformation
+ );
+ };
+
+}
+#endif