Publication | Open Access
A safe approximate algorithm for interprocedural aliasing
333
Citations
25
References
1992
Year
Unknown Venue
EngineeringComputational ComplexityMulti-resolution MethodSoftware AnalysisFormal VerificationApproximate ComputingComputational ImagingPrototype Analysis ToolStatic CheckingCompilersComputational GeometryApproximation TheoryProgram SlicingSafe Approximate AlgorithmProgramming LanguagesAutomatic DifferentiationComputer EngineeringComputer ScienceOptimizing CompilerProgram PointStatic Program AnalysisProgram AnalysisFormal MethodsC ProgramsSymbolic Execution
An alias is a name that refers to the same memory location, and determining aliases in pointer‑rich languages is ρ‑space‑hard. The paper proposes an algorithm for the Conditional May Alias problem to safely approximate interprocedural may aliasing with pointers. The algorithm achieves worst‑case precision and has been implemented in a prototype C‑program analysis tool. Initial experiments show promising speed and precision.
During execution, when two or more names exist for the same location at some program point, we call them aliases. In a language which allows arbitrary pointers, the problem of determining aliases at a program point is ρ-space-hard [Lan92]. We present an algorithm for the Conditional May Alias problem, which can be used to safely approximate Interprocedural May Alias in the presence of pointers. This algorithm is as precise as possible in the worst case and has been implemented in a prototype analysis tool for C programs. Preliminary speed and precision results are presented.
| Year | Citations | |
|---|---|---|
Page 1
Page 1