CppIns: A Source Query Language for Instrumentation

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

Abstract

Source instrumentation is one of the most common tasks used in software testing and dynamic program analysis. However, instrumentation fragments containing contextual information are scattered in source code and hard to be maintained. To generate and manager instrumentation codes, we divide the source instrumentation task into two parts, searching the instrumentation points where code fragments should be planted and generating the code fragments according to the contextual variables. Following such idea, we present a query-based method locating points where codes to be planted and collecting contextual information so that generated codes could contain variables around the points. The CppIns language provided by our method is aimed to specify instrumentation rules for C++ source, which is constructed following a SQL-like style and easily understood. We evaluate the method in terms of the reduced complexity of query specifications with several common instrumentation tasks. © Springer-Verlag Berlin Heidelberg 2013.

Cite

CITATION STYLE

APA

He, Y., Tao, Y., & Zhang, T. (2013). CppIns: A Source Query Language for Instrumentation. In Communications in Computer and Information Science (Vol. 320, pp. 498–505). Springer Verlag. https://doi.org/10.1007/978-3-642-35795-4_63

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