Skip to content

>AUUG–The Organisation for Unix, Linux and Open Source Professionals

Comparing C Code Trees

by Warren Toomey


Ctcompare is a tool to lexically compare two C code trees for possible code copying.  This paper describes the motivation behind the creation of the tool, discusses some of the issues that must be faced when attempting to compare code trees, and highlights some of the design aspects of the tool.

Warren Toomey
Faculty of IT, Bond University

Download the paper: Comparing C Code Trees (245K PDF)