Application of Design Patterns in Program Analysis
Peng An-zhai · Microelectronics & Computer · 2006
Based on reflection principle and open compile techniques, Software instrumentation is an efficient approach to analyze program and extract run-time information for users to comprehend an object-oriented system. An algorithm implementation of software instrumentation by extending the open compiler is brought forward in this paper. Design patterns are applied to improve the reusable and extensible capability and a case study is given to show the effectiveness of the instrumentation approach.