Sciweavers

PEPM
2007
ACM

Behavioral similarity matching using concrete source code templates in logic queries

14 years 6 months ago
Behavioral similarity matching using concrete source code templates in logic queries
Program query languages and pattern-detection techniques are an essential part of program analysis and manipulation systems. Queries and patterns permit the identification of the parts of interest in a program’s implementation through a representation dedicated to the intent of the system (e.g. call-graphs to detect behavioral abstract syntax trees for transformations, concrete source code to verify programming conventions, etc). This requires that developers understand and manage all the different representations and techniques in order to detect various patterns of interest. To alleviate this overhead, we present a logic-based language that allows the program’s implementation to be queried using concrete source code templates. The queries are matched against a combination of structural and behavioral program representations, including callpoints-to analysis results and abstract syntax trees. The result of our approach is that developers can detect patterns in the queried progra...
Coen De Roover, Theo D'Hondt, Johan Brichau, Carlo
Added 09 Jun 2010
Updated 09 Jun 2010
Type Conference
Year 2007
Where PEPM
Authors Coen De Roover, Theo D'Hondt, Johan Brichau, Carlos Noguera, Laurence Duchien
Comments (0)