Accession Number:

AD1087319

Title:

The Undefined Quest for Full Memory Safety

Descriptive Note:

Technical Report

Corporate Author:

Massachusetts Institute of Technology Cambridge United States

Personal Author(s):

Report Date:

2018-02-13

Pagination or Media Count:

64.0

Abstract:

In this thesis, we explore full memory safety and the various intricacies involved. We analyze existing memory safety techniques in both hardware and software and their many different goals. This task involves determining the limits of the protections guaranteed by these different protection systems, regardless of whether they were explicitly or implicitly stated. It is demonstrated that the common software technique of protecting only allocation bounds does not provide nearly enough of a barrier for attackers. Then, we go beyond particular schemes and examine the limitations of languages, C in particular. We discover many corner cases and ambiguities that prevent even the best possible protection system from providing full memory safety in the context of the C language specification. We also collect some results for the prevalence of these issues, present approaches to further analyze them, and consider how they might extend into other languages or systems.

Subject Categories:

  • Computer Hardware
  • Computer Programming and Software

Distribution Statement:

APPROVED FOR PUBLIC RELEASE