Program analyzing apparatus, program analyzing method, and trace processing addition apparatus

US12248769B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12248769-B2
Application numberUS-202218547873-A
CountryUS
Kind codeB2
Filing dateFeb 15, 2022
Priority dateMar 18, 2021
Publication dateMar 11, 2025
Grant dateMar 11, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A program analyzing apparatus (failure analyzing apparatus) includes an execution path reduction unit that deletes an execution path that is not executed by referring to information related to a branch destination of a conditional branch included in a program, from all execution paths that are all executable execution paths among execution paths that are columns of statements to be sequentially executed in the program.

First claim

Opening claim text (preview).

The invention claimed is: 1. A program analyzing apparatus comprising an execution path reduction unit that deletes an execution path that is not executed by referring to information related to a branch destination of a conditional branch included in a program, from all execution paths that are all executable execution paths among execution paths that are columns of statements to be sequentially executed in the program; a function specification acquisition unit that acquires specifications of ranges of an argument and a return value of a function included in the program; and a failure location detection unit that calculates a failure condition that is a value of the argument inconsistent with the specification among functions included in a remaining execution path after deletion by the execution path reduction unit. 2. The program analyzing apparatus according to claim 1 , wherein the information related to the branch destination of the conditional branch is either a value of a variable referred to in the conditional branch included in an execution log generated when the program is executed or a value of a conditional expression included in the conditional branch. 3. The program analyzing apparatus according to claim 1 , wherein the failure condition is either a failure condition that is values of the argument and the return value that satisfy a logical product of a logical expression indicating the range of the argument and a logical expression that is a negativeness of a logical expression indicating the range of the return value among the functions included in the remaining execution path, or a failure condition that is a value of an argument of a function that satisfies a logical product of the logical expression indicating the range of the argument and a logical expression that is a negativeness of a logical expression indicating a range of an argument of a called function directly or indirectly called by the function in the remaining execution path, among the functions included in the remaining execution path. 4. The program analyzing apparatus according to claim 1 , wherein the failure location detection unit specifies the remaining execution path including a statement in which an error has occurred during execution of the program, and calculates the failure condition. 5. The program analyzing apparatus according to claim 1 , wherein the failure location detection unit calculates the failure condition with a priority given to a function in which a failure has occurred in the past, as a function for calculating the failure condition. 6. The program analyzing apparatus according to claim 1 , wherein the failure location detection unit calculates the failure condition with a priority given to a function including an execution path on which a test has not been performed, as a function for calculating the failure condition. 7. A program analyzing method of a program analyzing apparatus, wherein the program analyzing apparatus executes: a step of deleting an execution path that is not executed by referring to information related to a branch destination of a conditional branch included in a program, from all executable execution paths among execution paths that are columns of statements to be sequentially executed in the program; a step of acquiring specifications of ranges of an argument and a return value of a function included in the program; and a step of calculating a failure condition that is a value of the argument inconsistent with the specification among functions included in a remaining execution path after deleting the execution path that is not executed.

Assignees

Inventors

Classifications

  • Structural analysis for program understanding · CPC title

  • G06F8/4435Primary

    Detection or removal of dead or redundant code · CPC title

  • by tracing the execution of the program · CPC title

  • Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation {; Recording or statistical evaluation of user activity, e.g. usability assessment} · CPC title

  • G06F11/36Primary

    Prevention of errors by analysis, debugging or testing of software · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12248769B2 cover?
A program analyzing apparatus (failure analyzing apparatus) includes an execution path reduction unit that deletes an execution path that is not executed by referring to information related to a branch destination of a conditional branch included in a program, from all execution paths that are all executable execution paths among execution paths that are columns of statements to be sequentially…
Who is the assignee on this patent?
Hitachi Ltd
What technology area does this patent fall under?
Primary CPC classification G06F8/4435. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 11 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).