Applying Answer Set Programming to Points-to Analysis of Object-Oriented Language

被引:0
作者
Yang, Bo [1 ]
Zhang, Mingyi [2 ]
Zhang, Ying [3 ]
机构
[1] Guizhou Univ, Coll Comp Sci & Informat, Guiyang 550003, Peoples R China
[2] Guiyang Univ, Dept Phys & Electron Informat, Guiyang, Peoples R China
[3] Guizhou Acad Sci, Guiyang, Peoples R China
来源
ADVANCED INTELLIGENT COMPUTING | 2011年 / 6838卷
基金
美国国家科学基金会;
关键词
Answer Set Programming; knowledge representing and reasoning; points-to analysis; object-oriented language; REPRESENTATION;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Points-to information is essential in software engineering, including compiler optimization, instruction-level parallelism, program verification, and so on. The propagating of points-to information along paths of a program can be viewed as the "frame problem" in a dynamic world. As a primary knowledge representing and reasoning tool in Artificial Intelligence, Answer Set Programming (ASP) provides a natural and concise way to express the frame problem. We present a collection of ASP rules to model the propagating of points-to information along paths of an object-oriented program. With these rules and basic facts of a program. points-to information at each program point can be computed easily. This makes it possible to acquire useful information for program analysis through existing ASP solvers.
引用
收藏
页码:676 / +
页数:2
相关论文
共 14 条
[1]  
[Anonymous], 1996, Principles of Knowledge Representation
[2]  
Carini P.R., 1995, 20267 RC IBM
[3]   Practical program analysis using general purpose logic programming systems - A case study [J].
Dawson, S ;
Ramakrishnan, CR ;
Warren, DS .
ACM SIGPLAN NOTICES, 1996, 31 (05) :117-126
[4]  
Eiter T., 2004, ACM Transactions on Computational Logic, V5, P206, DOI 10.1145/976706.976708
[5]  
Gelfound M., 1988, Logic Programming: Proceedings of the Fifth International Conference and Symposium, P1070
[6]   Model-Based Debugging - State of the Art And Future Challenges [J].
Mayer, Wolfgang ;
Stumptner, Markus .
ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 174 (04) :61-82
[7]   Towards a theory and calculus of aliasing [J].
Meyer, Bertrand .
JOURNAL OF OBJECT TECHNOLOGY, 2010, 9 (02) :37-73
[8]  
Nogueira M., 2001, Practical Aspects of Declarative Languages. Third International Symposium, PADL 2001. Proceedings (Lecture Notes in Computer Science Vol.1990), P169
[9]  
Pande Hemant D., 1995, TECHNICAL REPORT
[10]   Knowledge representation concepts for automated SLA management [J].
Paschke, Adrian ;
Bichler, Martin .
DECISION SUPPORT SYSTEMS, 2008, 46 (01) :187-205