Back to search

Massachusetts Institute of Technology

Adding Support for MC/DC instrumentation in the Green Hills C/C++ compiler

Abstract

dc:description.abstract

This thesis presents the design and implementation of Modified Condition / Decision Coverage (MC/DC) instrumentation in the Green Hills C/C++ compiler. When a specfic option is enabled, the compiler now identied each boolean expression and annotates the generated binary with special instructions. When a test suite is run, these extra instructions emit logging information. A separate program then uses that information to determine and display the degree of coverage achieved. Taken together, my tools allow a user to run any program and determine the extent of MC/DC coverage achieved by their tests.

Degree

thesis:*
Name thesis:degree_name
Master
Department dc:contributor.department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Saha, Sagnik,M. Eng.Massachusetts Institute of Technology.
Advisor dc:contributor.advisor
  • Martin Rinard and Nikola Valerjev.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission.
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1721.1/121681
OAI identifier oai:identifier
oai:dspace.mit.edu:1721.1/121681

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Saha, Sagnik,M. Eng.Massachusetts Institute of Technology.. Adding Support for MC/DC instrumentation in the Green Hills C/C++ compiler. Massachusetts Institute of Technology, 2019. https://hdl.handle.net/1721.1/121681