A contract-based interprocedural safety analysis method
J4
• Original Articles • Previous Articles Next Articles
YANG Xiao-qi;LIU Jian
Received:
Revised:
Online:
Published:
Abstract: A contract-based method for C and C++ interprocedural safety analysis is proposed. With bottom-up analysis, the process of interprocedural analysis is made consistent with that of the intraprocedural analysis. By associating variables and functions with contracts to record pre- and post- conditions, and updating the contracts according to the rules constructed, safety checking can be done automatically during the program analysis. The method can be used to detect safety holes, such as illegal pointer references, memory leaks, and other resource leaks, at a low cost and with high flexibility.
Key words: contract-based, interprocedural, safety analysis
CLC Number:
YANG Xiao-qi;LIU Jian.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://journal.xidian.edu.cn/xdxb/EN/
https://journal.xidian.edu.cn/xdxb/EN/Y2006/V33/I3/390
A study of some problems in ATLAS translator design
Cited