Heap Typability is NP-Complete

Loading...
Thumbnail Image

Date

Authors

Elder, Matt
Liblit, Ben

Advisors

License

DOI

Type

Technical Report

Journal Title

Journal ISSN

Volume Title

Publisher

University of Wisconsin-Madison Department of Computer Sciences

Grantor

Abstract

Given a snapshot of a running program�s memory heap, and a set of types representing data in the program, dynamic heap type inference attempts to assign types to memory locations such that certain global consistency constraints are satisfied. Previous work has used brute-force searches to solve heap typing problems. We prove that a problem derived from dynamic heap type inference is NP-complete by reduction from 3-colorability. Thus, it is unlikely that a polynomial-time algorithm for heap type inference exists.

Description

Keywords

Related Material and Data

Citation

TR1618

Sponsorship

Endorsement

Review

Supplemented By

Referenced By