发明名称 Detection of memory-related errors in computer programs
摘要 A method, an apparatus, and a computer program product are disclosed for detecting memory-related errors in a computer program during compiling of the computer program. In the method, static analysis is performed upon a computer program. One or more conditions in the computer program are computed based on the static analysis. Each condition is a test for checking a memory access in the computer program and can be either a pre- or post-condition. The validity of each condition in the computer program is then evaluated. If the evaluation is determinate during compiling, the presence or absence of memory-related errors in the computer program is reported. A condition is determinate if the condition is valid or invalid during compiling. Otherwise, computer code based on the condition is generated for incorporation in the computer program for run-time detection of memory-related errors.
申请公布号 US6823507(B1) 申请公布日期 2004.11.23
申请号 US20000587924 申请日期 2000.06.06
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 SRINIVASAN RAVI;KIRAN USHA;SINHA NAVIN KUMAR
分类号 G06F9/45;G06F11/36;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址