PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
January 1, 19961,090 citationsOpen Access

Points-to analysis in almost linear time

BSBjarne Steensgaard

Key Points

  • This work aims to develop an efficient points-to analysis algorithm that operates in almost linear time.
  • Developed a non-standard type system for variable location representation.
  • Created a constraint system yielding improved outcomes over traditional methods.
  • Proposed an almost linear time algorithm for points-to analysis using this constraint system.
  • Achieved asymptotically fastest interprocedural points-to analysis algorithm reported.
  • Results are equivalent to flow-insensitive alias analysis assuming reflexive and transitive alias relations.
  • Demonstrated improved efficiency while maintaining accuracy in points-to analysis outcomes.

Abstract

We present an interprocedural flow-insensitive points-to analysis based on type inference methods with an almost linear time cost complexity To our knowledge, this is the asymptotically fastest non-trivial interprocedural points-to analysis algorithm yet described The algorithm is based on a non-standard type system. The type inferred for any variable represents a set of locations and includes a type which in turn represents a set of locations possibly pointed to by the variable. The type inferred for a function variable represents a set of functions It may point to and includes a type signature for these functions The results are equivalent to those of a flow-insensitive alias analysis (and control flow analysis) that assumes alias relations are reflexive and transitive.This work makes three contributions. The first is a type system for describing a universally valid storage shape graph for a program in linear space. The second is a constraint system which often leads to better results than the "obvious" constraint system for the given type system The third is an almost linear time algorithm for points-to analysis by solving a constraint system.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Bjarne Steensgaard (1996) studied this question.

synapsesocial.com/papers/6a10b0dd5e6663f9d26441fdhttps://doi.org/10.1145/237721.237727
Ask AI
Helpful
Bookmark
Share
View Full Paper