Back to Search
Start Over
On the non-approximability of points-to analysis.
- Source :
-
Acta Informatica . Jul2002, Vol. 38 Issue 8, p587. 12p. - Publication Year :
- 2002
-
Abstract
- Determining points-to sets is an important static-analysis problem. Most of the classic static analyses (used e.g., by compilers or in programming environments) rely on knowing which variables might be used or defined by each expression in a program. In the presence of pointers, the use/def set of an expression like *p = *q can only be determined given (safe) points-to sets for p and q.Previous work has shown that both precise flow-sensitive and precise flow-insensitive pointer analysis is NP-Hard, even when restricted to single-procedure programs with no dynamic memory allocation. In this paper, we show that it is not even possible to compute good approximations to the precise solutions (i.e., to compute points-to sets whose sizes are within a constant factor of the sizes of the precise points-to sets) unless P=NP. [ABSTRACT FROM AUTHOR]
- Subjects :
- *COMPILERS (Computer programs)
*SET theory
Subjects
Details
- Language :
- English
- ISSN :
- 00015903
- Volume :
- 38
- Issue :
- 8
- Database :
- Academic Search Index
- Journal :
- Acta Informatica
- Publication Type :
- Academic Journal
- Accession number :
- 6878801
- Full Text :
- https://doi.org/10.1007/s00236-002-0081-8