Context-Sensitive Timing Simulation of Binary Embedded Software

被引:3
|
作者
Ottlik, Sebastian [1 ]
Stattelmann, Stefan [2 ]
Viehl, Alexander [1 ]
Rosenstiel, Wolfgang [1 ,3 ]
Bringmann, Oliver [1 ,3 ]
机构
[1] FZI Res Ctr Informat Technol, D-76131 Karlsruhe, Germany
[2] ABB Corp Res, Res Area Software, D-68526 Ladenburg, Germany
[3] Univ Tubingen, D-72076 Tubingen, Germany
关键词
Software Timing Simulation; Binary Level Simulation; Instruction Set Simulation; System Level Design; Virtual Prototyping;
D O I
10.1145/2656106.2656117
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present an approach to accurately simulate the temporal behavior of binary embedded software based on timing data generated using static analysis. As the timing of an instruction sequence is significantly influenced by the microarchitecture state prior to its execution, which highly depends on the preceding control flow, a sequence must be separately considered for different control flow paths instead of estimating the influence of basic blocks or single instructions in isolation. We handle the thereby arising issue of an excessive or even infinite number of different paths by considering different execution contexts instead of control flow paths. Related approaches using context-sensitive cycle counts during simulation are limited to simulating the control flow that could be considered during analysis. We eliminate this limitation by selecting contexts dynamically, picking a suitable one when no predetermined choice is available, thereby enabling a context-sensitive simulation of unmodified binary code of concurrent programs, including asynchronous events such as interrupts. In contrast to other approximate binary simulation techniques, estimates are conservative, yet tight, making our approach reliable when evaluating performance goals. For a multi-threaded application the simulation deviates only by 0.24% from hardware measurements while the average overhead is only 50% compared to a purely functional simulation.
引用
收藏
页数:10
相关论文
共 50 条
  • [31] Context-sensitive dependency pairs
    Alarcon, Beatriz
    Gutierrez, Raul
    Lucas, Salvador
    FSTTCS 2006: FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE, PROCEEDINGS, 2006, 4337 : 297 - +
  • [32] Competition for Context-Sensitive Consumers
    Apffelstaedt, Arno
    Mechtenberg, Lydia
    MANAGEMENT SCIENCE, 2021, 67 (05) : 2828 - 2844
  • [33] Dynamic Context-Sensitive Deliberation
    Jensen, Maarten
    Vanhee, Lois
    Dignum, Frank
    MULTI-AGENT-BASED SIMULATION XXIV, MABS 2023, 2024, 14558 : 112 - 126
  • [34] Context-Sensitive Document Ranking
    常利军
    于旭
    秦璐
    Journal of Computer Science & Technology, 2010, 25 (03) : 444 - 457
  • [35] Context-sensitive query expansion
    Li, Weijiang
    Zhao, Tiejun
    Wang, Xiangang
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2010, 47 (02): : 300 - 304
  • [36] THE CENTERS OF CONTEXT-SENSITIVE LANGUAGES
    STAIGER, L
    NEHRLICH, W
    LECTURE NOTES IN COMPUTER SCIENCE, 1986, 233 : 594 - 601
  • [37] Practical Context-Sensitive CFI
    van der Veen, Victor
    Andriesse, Dennis
    Goktas, Enes
    Gras, Ben
    Sambuc, Lionel
    Slowinska, Asia
    Bos, Herbert
    Giuffrida, Cristiano
    CCS'15: PROCEEDINGS OF THE 22ND ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2015, : 927 - 940
  • [38] Secure context-sensitive authorization
    Minami, Kazuhiro
    Kotz, David
    PERVASIVE AND MOBILE COMPUTING, 2005, 1 (01) : 123 - 156
  • [39] Secure context-sensitive authorization
    Minami, K
    Kotz, D
    THIRD IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS, PROCEEDINGS, 2005, : 257 - 268
  • [40] ON GROWING CONTEXT-SENSITIVE LANGUAGES
    BUNTROCK, G
    LORYS, K
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 623 : 77 - 88