Method in computer for checking errors in program component
    1.
    发明专利
    Method in computer for checking errors in program component 有权
    计算机中用于检查程序组件中的错误的方法

    公开(公告)号:JP2006252583A

    公开(公告)日:2006-09-21

    申请号:JP2006159153

    申请日:2006-06-07

    CPC classification number: G06F11/366

    Abstract: PROBLEM TO BE SOLVED: To detect programming errors in a computer program.
    SOLUTION: A computer program statement (command) like a function stored in a memory 104 is performed by a CPU 102. The CPU 102 monitors changes in state of a resource (a memory 114) to be processed by the computer program and when it deviates from a predetermined change in state, decides it as a programming error.
    COPYRIGHT: (C)2006,JPO&NCIPI

    Abstract translation: 要解决的问题:检测计算机程序中的编程错误。 解决方案:CPU 102执行类似于存储在存储器104中的功能的计算机程序语句(命令)。CPU 102监视由计算机程序处理的资源(存储器114)的状态的改变,以及 当它偏离预定的状态变化时,将其判定为编程错误。 版权所有(C)2006,JPO&NCIPI

    COMPUTER PROCESS RESOURCE MODELLING METHOD AND APPARATUS

    公开(公告)号:CA2637798C

    公开(公告)日:2011-06-21

    申请号:CA2637798

    申请日:1995-08-09

    Applicant: MICROSOFT CORP

    Abstract: An error detection mechanism for detecting programming errors in a computer program. A component of the computer program, e.g., a procedure or function of the computer program, is analyzed to determine the effect of the component on resources used by the computer program. A component is analyzed by traversing the computer instructions, i.e., statements, of the component and tracking the state of resources used by the components as affected by the statements of the component. Each resource has a prescribed behavior represented by a number of states and transition between states. Violations in the prescribed behavior of a resource resulting from an emulated execution of the statements of the component are detected and reported as programming errors. Resources used by two or more components are modelled by modelling externals of the components. The effect of execution of a component on externals and resources of the component is determined by traversing one or more possible control flow paths through the component and tracking the use of each external and resource by each statement of each control flow path. Once the effect of execution of a component on externals and resources of the component is determined, a model of the component is created and used to model externals and resources of other components which invoke the modelled component.

    COMPUTER PROCESS RESOURCE MODELLING METHOD AND APPARATUS

    公开(公告)号:CA2637798A1

    公开(公告)日:1996-02-22

    申请号:CA2637798

    申请日:1995-08-09

    Applicant: MICROSOFT CORP

    Abstract: An error detection mechanism for detecting programing errors in a computer program. A component of the computer program, e.g., a procedure or function of the computer program, is analyzed to determine the effect of the component on resources used by the computer program. A component is analyzed by traversing the computer instructions, i.e., statements, of the component and tracking the state of resources used by the component as affected by the statements of the component. Each resource has a prescribed behavior represented by a number of states and transition between states. Violations in the prescribed behavior of a resource resulting from an emulated execution of the statements of the component are detected and reported as programming errors. Resources used by two or more components are modelled by modelling externals of the components. The effect of execution of a component on externals and resources of the component is determined by traversing one or more possible control flow paths through the component and tracking the use of each external and resource by each statement of each control flow path. Once the effect of execution of a component on externals and resources of the component is determined, a model of the component is created and used to model externals and resources of other components which invoke the modelled component.

Patent Agency Ranking