We study from a computability perspective static program analysis, namely detecting sound program assertions, and verification, namely sound checking of program assertions. We first design a general computability model for domains of program assertions and correspond- ing program analysers and verifiers. Next, we formalize and prove an instantiation of Rice’s theorem for static program analysis and verifica- tion. Then, within this general model, we provide and show a precise statement of the popular belief that program analysis is a harder prob- lem than program verification: we prove that for finite domains of pro- gram assertions, program analysis and verification are equivalent prob- lems, while for infinite domains, program analysis is strictly harder than verification.
Program analysis is harder than verification: A computability perspective
Francesco Ranzato
2018
Abstract
We study from a computability perspective static program analysis, namely detecting sound program assertions, and verification, namely sound checking of program assertions. We first design a general computability model for domains of program assertions and correspond- ing program analysers and verifiers. Next, we formalize and prove an instantiation of Rice’s theorem for static program analysis and verifica- tion. Then, within this general model, we provide and show a precise statement of the popular belief that program analysis is a harder prob- lem than program verification: we prove that for finite domains of pro- gram assertions, program analysis and verification are equivalent prob- lems, while for infinite domains, program analysis is strictly harder than verification.File | Dimensione | Formato | |
---|---|---|---|
camera_ready.pdf
accesso aperto
Descrizione: pre-print
Tipologia:
Published (publisher's version)
Licenza:
Creative commons
Dimensione
252.81 kB
Formato
Adobe PDF
|
252.81 kB | Adobe PDF | Visualizza/Apri |
Cousot2018_Chapter_ProgramAnalysisIsHarderThanVer.pdf
accesso aperto
Descrizione: https://link.springer.com/chapter/10.1007%2F978-3-319-96142-2_8
Tipologia:
Published (publisher's version)
Licenza:
Creative commons
Dimensione
390.59 kB
Formato
Adobe PDF
|
390.59 kB | Adobe PDF | Visualizza/Apri |
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.