Semantics-Aware Trace Analysis

被引:8
|
作者
Hoffman, Kevin [1 ]
Eugster, Patrick [1 ]
Jagannathan, Suresh [1 ]
机构
[1] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47907 USA
关键词
D O I
10.1145/1542476.1542527
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As computer systems continue to become more powerful and complex, so do programs. High-level abstractions introduced to deal with complexity in large programs, while simplifying human reasoning, can often obfuscate salient program properties gleaned from automated source-level analysis through subtle (often non-local) interactions. Consequently, understanding the effects of program changes and whether these changes violate intended protocols become difficult to infer. Refactorings, and feature additions, modifications, or removals can introduce hard-to-catch bugs that often go undetected until many revisions later. To address these issues, this paper presents a novel dynamic program analysis that builds a semantic view of program executions. These views reflect program abstractions and aspects; however, views are not simply projections of execution traces, but are linked to each other to capture semantic interactions among abstractions at different levels of granularity in a scalable manner. We describe our approach in the context of Java and demonstrate its utility to improve regression analysis. We first formalize a subset of Java and a grammar for traces generated at program execution. We then introduce several types of views used to analyze regression bugs along with a novel, scalable technique for semantic differencing of traces from different versions of the same program. Benchmark results on large open-source Java programs demonstrate that semantic-aware trace differencing can identify precise and useful details about the underlying cause for a regression, even in programs that use reflection, multithreading, or dynamic code generation, features that typically confound other analysis techniques.
引用
收藏
页码:453 / 464
页数:12
相关论文
共 50 条
  • [1] Semantics-Aware Trace Analysis
    Hoffman, Kevin
    Eugster, Patrick
    Jagannathan, Suresh
    [J]. ACM SIGPLAN NOTICES, 2009, 44 (06) : 453 - 464
  • [2] Semantics-Aware Autoencoder
    Bellini, Vito
    Di Noia, Tommaso
    Di Sciascio, Eugenio
    Schiavone, Angelo
    [J]. IEEE ACCESS, 2019, 7 : 166122 - 166137
  • [3] Semantics-aware malware detection
    Christodorescu, M
    Jha, S
    Seshia, SA
    Song, D
    Bryant, RE
    [J]. 2005 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, PROCEEDINGS, 2005, : 32 - 46
  • [4] Semantics-aware perimeter protection
    Cremonini, M
    Damiani, E
    Samarati, P
    [J]. DATA AND APPLICATIONS SECURITY XVII: STATUS AND PROSPECTS, 2004, 142 : 229 - 242
  • [5] An architecture for generating semantics-aware signatures
    Yegneswaran, V
    Giffin, JT
    Barford, P
    Jha, S
    [J]. USENIX ASSOCIATION PROCEEDINGS OF THE 14TH USENIX SECURITY SYMPOSIUM, 2005, : 97 - 112
  • [6] Semantics-Aware Warehousing of Symbolic Trajectories
    Trajcevski, Goce
    Donevska, Ivana
    Vaisman, Alejandro
    Avci, Besim
    Zhang, Tian
    Tian, Di
    [J]. PROCEEDINGS OF THE 6TH ACM SIGSPATIAL INTERNATIONAL WORKSHOP ON GEOSTREAMING (IWGS) 2015, 2015, : 1 - 8
  • [7] TacTok: Semantics-Aware Proof Synthesis
    First, Emily
    Brun, Yuriy
    Guha, Arjun
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4
  • [8] Semantics-Aware BERT for Language Understanding
    Zhang, Zhuosheng
    Wu, Yuwei
    Zhao, Hai
    Li, Zuchao
    Zhang, Shuailiang
    Zhou, Xi
    Zhou, Xiang
    [J]. THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 9628 - 9635
  • [9] Semantics-Aware Visual Object Tracking
    Yao, Rui
    Lin, Guosheng
    Shen, Chunhua
    Zhang, Yanning
    Shi, Qinfeng
    [J]. IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2019, 29 (06) : 1687 - 1700
  • [10] Enforcing semantics-aware security in multimedia surveillance
    Kodali, N
    Farkas, C
    Wijesekera, D
    [J]. JOURNAL ON DATA SEMANTICS II, 2005, 3360 : 199 - 221