• DocumentCode
    580227
  • Title

    Hierarchical control flow matching for source-level simulation of embedded software

  • Author

    Lu, Kun ; Müller-Gritschneder, Daniel ; Schlichtmann, Ulf

  • Author_Institution
    Inst. for Electron. Design Autom., Tech. Univ. Munchen, München, Germany
  • fYear
    2012
  • fDate
    10-12 Oct. 2012
  • Firstpage
    1
  • Lastpage
    5
  • Abstract
    Source-level simulation (SLS) of embedded software annotates the source code based on the matching of the control flow graphs (CFG) between the source code and the cross-compiled binary code. However, existing SLS approaches still can not guarantee to find a matching for a CFG that is optimized by the compiler. Further, they rely on debug information, which may be unreliable. In this paper, the authors propose a hierarchical CFG matching approach to reduce the influence of compiler optimization and ambiguous debug information. This approach divides the CFGs of the source and binary code into nested regions. Then the matching of those two CFGs is performed for the regions in a top-down manner. In this way, heavy optimization or debug misinformation of certain basic blocks will not have global impact on the matching of other basic blocks. Moreover, optimized loops and branches are matched with respect to the optimization techniques used by the compiler.
  • Keywords
    binary codes; flow graphs; optimisation; program compilers; program control structures; program debugging; source coding; SLS approaches; ambiguous debug information; binary code CFG; branch optimization; compiler optimization; control flow graphs; cross-compiled binary code; embedded software; hierarchical CFG matching approach; hierarchical control flow matching; loop optimization; nested regions; optimization techniques; source code CFG; source-level simulation; Benchmark testing; Binary codes; Design automation; Embedded software; Optimization; Timing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    System on Chip (SoC), 2012 International Symposium on
  • Conference_Location
    Tampere
  • Print_ISBN
    978-1-4673-2895-1
  • Electronic_ISBN
    978-1-4673-2894-4
  • Type

    conf

  • DOI
    10.1109/ISSoC.2012.6376366
  • Filename
    6376366