Exploration, Analysis, and Manipulation of  Source Code Using srcML

Authors:
  • JMJonathan I. Maletic
    Jonathan I. Maletic
  • MCMichael L. Collard
    Michael L. Collard

Abstract
This technology briefing is intended for those interested in constructing custom software analysis and manipulation tools to support research or commercial applications. srcML (srcML.org) is an infrastructure consisting of an XML representation for C/C++/C#/Java source code along with efficient parsing technology to convert source code to-and-from the srcML format. The briefing describes srcML, the toolkit, and the application of XPath and XSLT to query and modify source code. Additionally, a hands-on tutorial of how to use srcML and XML tools to construct custom analysis and manipulation tools will be conducted.