• DocumentCode
    237156
  • Title

    Dynamic Analysis of Embedded Software Using Execution Replay

  • Author

    Young Wn Song ; Yann-Hang Lee

  • Author_Institution
    Comput. Sci. & Eng., Arizona State Univ., Tempe, AZ, USA
  • fYear
    2014
  • fDate
    10-12 June 2014
  • Firstpage
    166
  • Lastpage
    173
  • Abstract
    For program optimization and debugging, dynamic analysis tools, e.g., profiler, data race detector, are widely used. To gather execution information, software instrumentation is often employed for its portability and convenience. Unfortunately, instrumentation overhead may change the execution of a program and lead to distorted analysis results, i.e., probe effect. In embedded software which usually consists of multiple threads and external inputs, program executions are determined by the timing of external inputs and the order of thread executions. Hence, probe effect incurred in an analysis of embedded software will be more prominent than in desktop software. This paper presents a reliable dynamic analysis method for embedded software using deterministic replay. The idea is to record thread executions and I/O with minimal record overhead and to apply dynamic analysis tools in replayed execution. For this end, we have developed a record/replay framework called P-Replayer, based on Lamport´s happens-before relation. Our experimental results show that dynamic analyses can be managed in the replay execution enabled by P-Replayer as if there is no instrumentation on the program.
  • Keywords
    embedded systems; multi-threading; program debugging; system monitoring; Lamport´s happens-before relation; P-Replayer; data race detector; deterministic replay; distorted analysis; dynamic analysis method; dynamic analysis tools; embedded software analysis; execution information; execution replay; external input timing; external inputs; instrumentation overhead; multiple threads; profiler; program debugging; program executions; program optimization; record/replay framework; replayed execution; software instrumentation; thread execution recording; thread executions; Delays; Message systems; Performance analysis; Probes; Synchronization; deterministic replay; embedded software; probe effect; profiling; program dynamic analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), 2014 IEEE 17th International Symposium on
  • Conference_Location
    Reno, NV
  • ISSN
    1555-0885
  • Type

    conf

  • DOI
    10.1109/ISORC.2014.16
  • Filename
    6899145