Publication | Open Access
Points-to analysis in almost linear time
1.1K
Citations
16
References
1996
Year
Unknown Venue
Mathematical ProgrammingEngineeringVerificationPoints-to AnalysisComputational ComplexityNon-standard Type SystemFlow AnalysisSoftware AnalysisFormal VerificationData ScienceGeneric ProgrammingDependently Typed ProgrammingApproximation TheorySublinear AlgorithmNonlinear Time SeriesData TypeAbstract InterpretationComputer EngineeringComputer ScienceType SystemFunctional Data AnalysisAutomated ReasoningProgram AnalysisFormal MethodsApproximation Method
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1