• DocumentCode
    2172293
  • Title

    Dynamic program analysis of Microsoft Windows applications

  • Author

    Skaletsky, Alex ; Devor, Tevi ; Chachmon, Nadav ; Cohn, Robert ; Hazelwood, Kim ; Vladimirov, Vladimir ; Bach, Moshe

  • fYear
    2010
  • fDate
    28-30 March 2010
  • Firstpage
    2
  • Lastpage
    12
  • Abstract
    Software instrumentation is a powerful and flexible technique for analyzing the dynamic behavior of programs. By inserting extra code in an application, it is possible to study the performance and correctness of programs and systems. Pin is a software system that performs run-time binary instrumentation of unmodified applications. Pin provides an API for writing custom instrumentation, enabling its use in a wide variety of performance analysis tasks such as workload characterization, program tracing, cache modeling, and simulation. Most of the prior work on instrumentation systems has focused on executing Unix applications, despite the ubiquity and importance of Windows applications. This paper identifies the Windows-specific obstacles for implementing a process-level instrumentation system, describes a comprehensive, robust solution, and discusses some of the alternatives. The challenges lie in managing the kernel/application transitions, injecting the runtime agent into the process, and isolating the instrumentation from the application. We examine Pin´s overhead on typical Windows applications being instrumented with simple tools up to commercial program analysis products. The biggest factor affecting performance is the type of analysis performed by the tool. While the proprietary nature of Windows makes measurement and analysis difficult, Pin opens the door to understanding program behavior.
  • Keywords
    Unix; application program interfaces; cache storage; program diagnostics; API; Microsoft Windows; Unix; cache modeling; dynamic program analysis; process-level instrumentation system; program tracing; software instrumentation; software system; Analytical models; Application software; Instruments; Kernel; Observability; Open source software; Performance analysis; Robustness; Runtime; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Performance Analysis of Systems & Software (ISPASS), 2010 IEEE International Symposium on
  • Conference_Location
    White Plains, NY
  • Print_ISBN
    978-1-4244-6023-6
  • Electronic_ISBN
    978-1-4244-6024-3
  • Type

    conf

  • DOI
    10.1109/ISPASS.2010.5452079
  • Filename
    5452079