Method for determining the degree to which changed code has been exercised
    1.
    发明授权
    Method for determining the degree to which changed code has been exercised 失效
    确定已更换代码已被执行的程度的方法

    公开(公告)号:US06748584B1

    公开(公告)日:2004-06-08

    申请号:US09474389

    申请日:1999-12-29

    IPC分类号: G06F945

    CPC分类号: G06F8/71

    摘要: A method for determining changed code in a second program binary relative to a first or baseline program binary, where the second program is a different version of the first program, includes translating, responsive to symbol tables and/or control flow representations, machine addresses of both program binaries to symbols. The first and second program binaries are disassembled using the translated symbols. Differences between the two resulting disassemblies are determined, and a list of the differences is created. Differences between the program binaries can be determined by textually comparing the disassemblies, or alternatively, by determining the differences between the control flow representations of the programs. The list of differences can be presented to a user, or alternatively, can be passed to another process for further processing, such as test coverage analysis, code change analysis, or failure analysis, among other analyses. Analyzing changed code coverage includes marking code in the second program which is changed or different from the first program. The second program is then executed in a test environment, and code which is executed is marked as having been executed. Next, the second program is executed in a non-test environment, such as a production environment, and code which is executed in this second environment is marked accordingly. Finally, from the variously marked code, a list of changed code which have not executed in the test environment but have executed in the non-test environment is provided.

    摘要翻译: 一种用于确定相对于第一或基线程序二进制程序的第二程序二进制中的改变的代码的方法,其中第二程序是第一程序的不同版本,包括响应于符号表和/或控制流程表示来转换机器地址 两个程序二进制到符号。 第一个和第二个程序二进制文件使用翻译的符号进行拆分。 确定两个产生的拆卸之间的差异,并创建差异列表。 程序二进制文件之间的差异可以通过文本比较反汇编来确定,或者通过确定程序的控制流表示之间的差异来确定。 差异列表可以呈现给用户,或者替代地,可以传递到另一个进程以进行进一步处理,例如测试覆盖分析,代码变换分析或故障分析以及其他分析。 分析更改的代码覆盖范围包括在第二个程序中标记代码,该代码与第一个程序更改或不同。 然后在测试环境中执行第二程序,并且执行的代码被标记为已被执行。 接下来,第二程序在诸如生产环境的非测试环境中执行,并且在该第二环境中执行的代码被相应地标记。 最后,从各种标记的代码中,提供了在测试环境中未执行但在非测试环境中执行的已更改代码的列表。

    Method for determining the degree to which changed code has been exercised
    2.
    发明授权
    Method for determining the degree to which changed code has been exercised 有权
    确定已更换代码已被执行的程度的方法

    公开(公告)号:US07296261B2

    公开(公告)日:2007-11-13

    申请号:US10862048

    申请日:2004-06-04

    IPC分类号: G06F9/44

    CPC分类号: G06F8/71

    摘要: A method for determining changed code in a second program binary relative to a first or baseline program binary, where the second program is a different version of the first program, includes translating, responsive to symbol tables and/or control flow representations, machine addresses of both program binaries to symbols. The first and second program binaries are disassembled using the translated symbols. Differences between the two resulting disassemblies are determined, and a list of the differences is created. Differences between the program binaries can be determined by textually comparing the disassemblies, or alternatively, by determining the differences between the control flow representations of the programs. The list of differences can be presented to a user, or alternatively, can be passed to another process for further processing, such as test coverage analysis, code change analysis, or failure analysis, among other analyses.

    摘要翻译: 一种用于确定相对于第一或基线程序二进制程序的第二程序二进制中的改变的代码的方法,其中第二程序是第一程序的不同版本,包括响应于符号表和/或控制流程表示来转换机器地址 两个程序二进制到符号。 第一个和第二个程序二进制文件使用翻译的符号进行拆分。 确定两个产生的拆卸之间的差异,并创建差异列表。 程序二进制文件之间的差异可以通过文本比较反汇编来确定,或者通过确定程序的控制流表示之间的差异来确定。 差异列表可以呈现给用户,或者替代地,可以传递到另一个进程以进行进一步处理,例如测试覆盖分析,代码变换分析或故障分析以及其他分析。