Identifying similar code with program dependence graphs

437Citations
Citations of this article
205Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We present an approach to identify similar code in programs based on finding similar subgraphs in attributed directed graphs. This approach is used on program dependence graphs and therefore considers not only the syntactic structure of programs but also the data flow within (as an abstraction of the semantics). As a result, there is no tradeoff between precision and recall - our approach is very good in both. An evaluation of our prototype implementation shows that our approach is feasible and gives very good results despite the non polynomial complexity of the problem.

Cite

CITATION STYLE

APA

Krinke, J. (2001). Identifying similar code with program dependence graphs. In Reverse Engineering - Working Conference Proceedings (pp. 301–309). https://doi.org/10.1109/wcre.2001.957835

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free