2009 | OriginalPaper | Buchkapitel
Abstract Parsing: Static Analysis of Dynamically Generated String Output Using LR-Parsing Technology
verfasst von : Kyung-Goo Doh, Hyunha Kim, David A. Schmidt
Erschienen in: Static Analysis
Verlag: Springer Berlin Heidelberg
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
We combine LR(k)-parsing technology and data-flow analysis to analyze, in advance of execution, the documents generated dynamically by a program. Based on the document language’s context-free reference grammar and the program’s control structure, the analysis
predicts
how the documents will be generated and
parses
the predicted documents. Our strategy remembers context-free structure by computing
abstract LR-parse stacks
. The technique is implemented in Objective Caml and has statically validated a suite of PHP programs that dynamically generate HTML documents.