Behavioral Similarity Matching using Concrete Source Code Templates in Logic Queries. De Roover, C., Brichau, J., Noguera, C., D'Hondt, T., & Duchien, L. In Proceedings of the ACM/SIGPLAN Workshop on Partial Evaluation and Semantics-Based Program Manipulation (PEPM07), 2007. abstract bibtex 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 flaws, 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 call-graphs, points-to analysis results and abstract syntax trees. The result of our approach is that developers can detect patterns in the queried program using source code excerpts (embedded in logic queries) which act as prototypical samples of the structure and behavior they intend to match.
@inproceedings{4c05a7e944e34949a7f7181dd2c9c9fd,
title = "Behavioral Similarity Matching using Concrete Source Code Templates in Logic Queries",
abstract = "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 flaws, 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 call-graphs, points-to analysis results and abstract syntax trees. The result of our approach is that developers can detect patterns in the queried program using source code excerpts (embedded in logic queries) which act as prototypical samples of the structure and behavior they intend to match.",
keywords = "Source Code Templates, Program Querying, Pattern Detection, Logic Meta Programming, Program Analysis, Program Validation",
author = "{De Roover}, Coen and Johan Brichau and Carlos Noguera and Theo D'Hondt and Laurence Duchien",
year = "2007",
language = "English",
isbn = "1-59593-620-3",
booktitle = "Proceedings of the ACM/SIGPLAN Workshop on Partial Evaluation and Semantics-Based Program Manipulation (PEPM07)",
}
Downloads: 0
{"_id":"6YYsuMMpDhc7HEvFj","bibbaseid":"deroover-brichau-noguera-dhondt-duchien-behavioralsimilaritymatchingusingconcretesourcecodetemplatesinlogicqueries-2007","author_short":["De Roover, C.","Brichau, J.","Noguera, C.","D'Hondt, T.","Duchien, L."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Behavioral Similarity Matching using Concrete Source Code Templates in Logic Queries","abstract":"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 flaws, 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 call-graphs, points-to analysis results and abstract syntax trees. The result of our approach is that developers can detect patterns in the queried program using source code excerpts (embedded in logic queries) which act as prototypical samples of the structure and behavior they intend to match.","keywords":"Source Code Templates, Program Querying, Pattern Detection, Logic Meta Programming, Program Analysis, Program Validation","author":[{"propositions":[],"lastnames":["De Roover"],"firstnames":["Coen"],"suffixes":[]},{"firstnames":["Johan"],"propositions":[],"lastnames":["Brichau"],"suffixes":[]},{"firstnames":["Carlos"],"propositions":[],"lastnames":["Noguera"],"suffixes":[]},{"firstnames":["Theo"],"propositions":[],"lastnames":["D'Hondt"],"suffixes":[]},{"firstnames":["Laurence"],"propositions":[],"lastnames":["Duchien"],"suffixes":[]}],"year":"2007","language":"English","isbn":"1-59593-620-3","booktitle":"Proceedings of the ACM/SIGPLAN Workshop on Partial Evaluation and Semantics-Based Program Manipulation (PEPM07)","bibtex":"@inproceedings{4c05a7e944e34949a7f7181dd2c9c9fd,\n title = \"Behavioral Similarity Matching using Concrete Source Code Templates in Logic Queries\",\n abstract = \"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 flaws, 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 call-graphs, points-to analysis results and abstract syntax trees. The result of our approach is that developers can detect patterns in the queried program using source code excerpts (embedded in logic queries) which act as prototypical samples of the structure and behavior they intend to match.\",\n keywords = \"Source Code Templates, Program Querying, Pattern Detection, Logic Meta Programming, Program Analysis, Program Validation\",\n author = \"{De Roover}, Coen and Johan Brichau and Carlos Noguera and Theo D'Hondt and Laurence Duchien\",\n year = \"2007\",\n language = \"English\",\n isbn = \"1-59593-620-3\",\n booktitle = \"Proceedings of the ACM/SIGPLAN Workshop on Partial Evaluation and Semantics-Based Program Manipulation (PEPM07)\",\n}","author_short":["De Roover, C.","Brichau, J.","Noguera, C.","D'Hondt, T.","Duchien, L."],"key":"4c05a7e944e34949a7f7181dd2c9c9fd","id":"4c05a7e944e34949a7f7181dd2c9c9fd","bibbaseid":"deroover-brichau-noguera-dhondt-duchien-behavioralsimilaritymatchingusingconcretesourcecodetemplatesinlogicqueries-2007","role":"author","urls":{},"keyword":["Source Code Templates","Program Querying","Pattern Detection","Logic Meta Programming","Program Analysis","Program Validation"],"metadata":{"authorlinks":{}}},"bibtype":"inproceedings","biburl":"http://soft.vub.ac.be/~cderoove/works.bib","dataSources":["abyQtmN3vDJoFXPPD"],"keywords":["source code templates","program querying","pattern detection","logic meta programming","program analysis","program validation"],"search_terms":["behavioral","similarity","matching","using","concrete","source","code","templates","logic","queries","de roover","brichau","noguera","d'hondt","duchien"],"title":"Behavioral Similarity Matching using Concrete Source Code Templates in Logic Queries","year":2007}