Finding similarities in source code through factorization - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2008

Finding similarities in source code through factorization

Résumé

The high availability of a huge number of documents on the Web makes plagiarism very attractive and easy. This plagiarism concerns any kind of document, natural language texts as well as more structured information such as programs. In order to cope with this problem, many tools and algorithms have been proposed to find similarities. In this paper we present a new algorithm designed to detect similarities in source codes. Contrary to existing methods, this algorithm relies on the notion of function and focuses on obfuscation with inlining and outlining of functions. This method is also efficient against insertions, deletions and permutations of instruction blocks. It is based on code factorization and uses adapted pattern matching algorithms and structures such as suffix arrays.
Fichier principal
Vignette du fichier
hal.pdf (222.89 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00620319 , version 1 (30-09-2011)

Identifiants

  • HAL Id : hal-00620319 , version 1

Citer

Michel Chilowicz, Étienne Duris, Gilles Roussel. Finding similarities in source code through factorization. 8th Workshop on Language Descriptions, Tools and Applications (LDTA'08), Apr 2008, Budapest, Hungary, Hungary. pp.47-62. ⟨hal-00620319⟩
61 Consultations
175 Téléchargements

Partager

Gmail Facebook X LinkedIn More