Detecting similar programs via the weisfeiler-leman graph kernel

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

Abstract

With the increasing availability of source code on the Internet, many new approaches to retrieve, repair, and reuse code have emerged that rely on the ability to efficiently compute the similarity of two pieces of code. The meaning of similarity, however, heavily depends on the application domain. For predicting API calls, for example, programs can be considered similar if they call a specific set of functions in a similar way, while for automated bug fixing, it is important that similar programs share a similar data-flow. In this paper, we propose an algorithm to compute program similarity based on the Weisfeiler-Leman graph kernel. Our algorithm is able to operate on different graph-based representations of programs and thus can be applied in different domains. We show the usefulness of our approach in two experiments using data-flow similarity and API-call similarity.

Cite

CITATION STYLE

APA

Li, W., Saidi, H., Sanchez, H., Schäf, M., & Schweitzer, P. (2016). Detecting similar programs via the weisfeiler-leman graph kernel. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 9679, pp. 315–330). Springer Verlag. https://doi.org/10.1007/978-3-319-35122-3_21

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