A differential approach to undefined behavior detection
Thesis: Ph. D., Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science, 2014.
Main Author: | |
---|---|
Other Authors: | |
Format: | Thesis |
Language: | eng |
Published: |
Massachusetts Institute of Technology
2015
|
Subjects: | |
Online Access: | http://hdl.handle.net/1721.1/93071 |
_version_ | 1826190981515444224 |
---|---|
author | Wang, Xi, Ph. D. Massachusetts Institute of Technology |
author2 | M. Frans Kaashoek and Nickolai Zeldovich. |
author_facet | M. Frans Kaashoek and Nickolai Zeldovich. Wang, Xi, Ph. D. Massachusetts Institute of Technology |
author_sort | Wang, Xi, Ph. D. Massachusetts Institute of Technology |
collection | MIT |
description | Thesis: Ph. D., Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science, 2014. |
first_indexed | 2024-09-23T08:48:15Z |
format | Thesis |
id | mit-1721.1/93071 |
institution | Massachusetts Institute of Technology |
language | eng |
last_indexed | 2024-09-23T08:48:15Z |
publishDate | 2015 |
publisher | Massachusetts Institute of Technology |
record_format | dspace |
spelling | mit-1721.1/930712019-04-10T19:08:41Z A differential approach to undefined behavior detection Wang, Xi, Ph. D. Massachusetts Institute of Technology M. Frans Kaashoek and Nickolai Zeldovich. Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science. Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science. Electrical Engineering and Computer Science. Thesis: Ph. D., Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science, 2014. Cataloged from PDF version of thesis. Includes bibliographical references (pages 61-65). This thesis studies undefined behavior arising in systems programming languages such as C/C++. Undefined behavior bugs lead to unpredictable and subtle systems behavior, and their effects can be further amplified by compiler optimizations. Undefined behavior bugs are present in many systems, including the Linux kernel and the Postgres database. The consequences range from incorrect functionality to missing security checks. This thesis proposes a formal and practical approach, which finds undefined behavior bugs by finding "unstable code" in terms of optimizations that leverage undefined behavior. Using this approach, we introduce a new static checker called STACK that precisely identifies undefined behavior bugs. Applying STACK to widely used systems has uncovered 161 new bugs that have been confirmed and fixed by developers. by Xi Wang. Ph. D. 2015-01-20T18:00:01Z 2015-01-20T18:00:01Z 2014 2014 Thesis http://hdl.handle.net/1721.1/93071 900008046 eng M.I.T. theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. See provided URL for inquiries about permission. http://dspace.mit.edu/handle/1721.1/7582 65 pages application/pdf Massachusetts Institute of Technology |
spellingShingle | Electrical Engineering and Computer Science. Wang, Xi, Ph. D. Massachusetts Institute of Technology A differential approach to undefined behavior detection |
title | A differential approach to undefined behavior detection |
title_full | A differential approach to undefined behavior detection |
title_fullStr | A differential approach to undefined behavior detection |
title_full_unstemmed | A differential approach to undefined behavior detection |
title_short | A differential approach to undefined behavior detection |
title_sort | differential approach to undefined behavior detection |
topic | Electrical Engineering and Computer Science. |
url | http://hdl.handle.net/1721.1/93071 |
work_keys_str_mv | AT wangxiphdmassachusettsinstituteoftechnology adifferentialapproachtoundefinedbehaviordetection AT wangxiphdmassachusettsinstituteoftechnology differentialapproachtoundefinedbehaviordetection |