ACM SIGPLAN Notices · 2010 · 22 citations · 20 references
ComputingComputer ScienceFormal MethodsSoftware EngineeringTheory Of ComputationAbstract Syntax TreesRecursion TheorySpecification LanguagesType CheckingType SystemsVerificationAbstract Syntax Tree AnalysisHigher-order Type CheckingRecursionRecursion SchemesRecursive Program VerificationTransducersTree Languages
We introduce higher-order, multi-parameter, tree transducers (HMTTs, for short), which are kinds of higher-order tree transducers that take input trees and output a (possibly infinite) tree. We study the problem of checking whether the tree generated by a given HMTT conforms to a given output specification, provided that the input trees conform to input specifications (where both input/output specifications are regular tree languages). HMTTs subsume higher-order recursion schemes and ordinary tree transducers, so that their verification has a number of potential applications to verification of functional programs using recursive data structures, including resource usage verification, string analysis, and exact type-checking of XML-processing programs. We propose a sound but incomplete verification algorithm for the HMTT verification problem: the algorithm reduces the verification problem to a model-checking problem for higher-order recursion schemes extended with finite data domains, and then uses (an extension of)Kobayashi's algorithm for model-checking recursion schemes. While the algorithm is incomplete (indeed, as we show in the paper, the verification problem is undecidable in general), it is sound and complete for a subclass of HMTTs called linear HMTTs . We have applied our HMTT verification algorithm to various program verification problems and obtained promising results.
20
Deforestation: transforming programs to eliminate trees
Philip Wadler · Theoretical Computer Science · 1990 · 707 citations
William G. J. Halfond, Alessandro Orso · 2005 · 525 citations
Static detection of cross-site scripting vulnerabilities
Gary Wassermann, Zhendong Su · 2008 · 388 citations
On Model-Checking Trees Generated by Higher-Order Recursion Schemes
C.-H. Luke Ong · 2006 · 262 citations