← Back to Patent Explorer
US5408660A Expired / Lapsed US ⏱️ 0.0 years remaining

System for analyzing and displaying data in computer program

Assignee: Fujitsu Ltd
•
Filing: 1992-03-20
•
Granted: 1995-04-18
•
Expires: 2012-03-20
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A system for analyzing and displaying program data capable of generating effective information for assuming paths of program execution on the basis of memory dump information of a program during stalling of the program. A data part accessing part access the data part of a program in the interruption state of running the program or at termination of the program. A linguistic-analysis-part for inputting a source program, and performs analysis for the source program according to grammar of the description language of the source program. A correspondence information accessing part accesses correspondence information of variables and addresses representing a correspondence of a variable name and a variable address in a load module. An evaluation part obtains the variable addresses for variables contained in respective assignment-expressions and comparison-expressions in the source program collected by the linguistic-analysis-part, derives a value of the data part variable in the program by the data part accessing part, and evaluates respective left-hand parts and right hand parts of the expression. A judging part determines that the expression is consistent when the left-hand part and the right-hand part are equal to each other for the assignment-expression, and when the values of the left-hand part and the right-hand part satisfy a comparison condition. A source-program-editing-part outputs the edited source program. The part judged consistent by the judging part is edited in distinguished form from other parts of the source program.

Inventors

  • 👤 Yohtaro Kitadate

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 19:13
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3698; G06F11/30; G06F11/32; G06F11/323

Claims Analysis

Total Claims: 9
Claim 1
Independent Claim 324 words
A computer implemented system for analyzing program data and having a main memory, comprising: a linguistic-analysis part stored in the main memory for inputting a source program of a program, analyzing the source program based on a language of the source program, collecting assignment-expressions and comparison-expressions in the source program, and collecting names of variables in the assignment-expressions and comparison-expressions; a correspondence information accessing part, stored in the main memory and coupled to a load module of the program, for accessing variable-address correspondence information representing correspondence between a name of a variable and a variable address in the load module; a data part accessing part, stored in the main memory and coupled to said correspondence information accessing part, for accessing the variables of a data part of the load module of the program in an interrupted state or a termination state; an evaluation part, stored in the main memory and coupled to said linguistic-analysis part and said data part accessing part, for obtaining the variable addresses for variables contained in respective assignment-expressions and comparison-expressions in the source program collected by said linguistic-analysis part, deriving values of the variables in the program by using said data part accessing part, and evaluating respective left-hand parts and right-hand parts of the expressions; a judging part, stored in the main memory, and coupled to said evaluation part, for determining for each of the expressions, that the expression is consistent when the left-hand part and the right-hand part are equal to each other in the case of the assignment-expression, and when values of the left-hand part and the right-hand part satisfy a comparison condition in the case of the comparison-expression; and a source-program-editing part, stored in the main memory and coupled to said judging part, for outputting the source program where the expressions that are determined to be consistent by said judging part, are edited into distinguished form compared to other parts of the expressions of the source program.
Claim 2
Dependent Claim 324 words
A computer implemented system for analyzing program data and having a main memory, comprising: a linguistic-analysis part stored in the main memory for inputting a source program of a program, analyzing the source program based on a language of the source program, collecting assignment-expressions and comparison-expressions in the source program, and collecting names of variables in the assignment-expressions and comparison-expressions; a correspondence information accessing part, stored in the main memory and coupled to a load module of the program, for accessing variable-address correspondence information representing correspondence between a name of a variable and a variable address in the load module; a data part accessing part, stored in the main memory and coupled to said correspondence information accessing part, for accessing the variables of a data part of the load module of the program in an interrupted state or a termination state; an evaluation part, stored in the main memory and coupled to said linguistic-analysis part and said data part accessing part, for obtaining the variable addresses for variables contained in respective assignment-expressions and comparison-expressions in the source program collected by said linguistic-analysis part, deriving values of the variables in the program by using said data part accessing part, and evaluating respective left-hand parts and right-hand parts of the expressions; a judging part, stored in the main memory, and coupled to said evaluation part, for determining for each of the expressions, that the expression is consistent when the left-hand part and the right-hand part are equal to each other in the case of the assignment-expression, and when values of the left-hand part and the right-hand part satisfy a comparison condition in the case of the comparison-expression; and a source-program-editing part, stored in the main memory and coupled to said judging part, for outputting the source program where the expressions that are determined to be consistent by said judging part, are edited into distinguished form compared to other parts of the expressions of the source program.
Claim 3
Dependent Claim 63 words
A computer implemented system for analyzing program data as claimed in claim 1, wherein said linguistic-analysis part inputs the source program, generates a parse-tree based on a production rule of the language and generates an expression-evaluation-list including a pointer to a node of the parse-tree, and wherein said evaluation part performs an evaluation of a sub-parse-tree below the node pointed by the expression-evaluation-list.
Claim 4
Dependent Claim 72 words
A computer implemented system for analyzing program data as claimed in claim 1, wherein the main memory has a memory area, wherein the contents of said data part to be used for evaluation during the interrupted state of running the program or at the termination of the program, are taken from said memory area on said main memory to which the program is loaded from an external storage unit and executed therein.
Claim 5
Dependent Claim 48 words
A computer implemented system for analyzing program data as claimed in claim 3, wherein the contents of said data part in the interrupted state of running the program or at the termination of the program is the contents output from said main memory to said external storage unit.
Claim 6
Dependent Claim 71 words
A computer implemented system for analyzing program data as claimed in claim 1, further comprising a keyboard-display terminal including a display screen, wherein said source-program-editing part outputs the edited source program to a file area of an external storage unit after evaluation of the assignment-expression and the comparison-expression, and subsequently outputs a range of lines of the source program designated by the user of said keyboard-display terminal on said display screen.
Claim 7
Dependent Claim 39 words
A computer implemented system for analyzing program data as claimed in claim 5, wherein said source-program-editing part also outputs lines determined from a line number designated by the user and information identifying the line numbers including the consistent expressions.
Claim 8
Dependent Claim 116 words
A computer implemented method for analyzing program data comprising the steps of: analyzing a source program corresponding to a program in one of an interruption state and a termination state, and collecting an assignment-expression and a comparison-expression in the source program; obtaining variable names and variable addresses for variables contained in the assignment-expression and the comparison-expression; deriving a value of the variable of a data part in the program; determining whether left-hand parts and right-hand parts of the assignment-expression and the comparison-expression are consistent; and outputting the source program where the left-hand and right-hand parts of the expressions are determined to be consistent, in edited and distinguished form compared to other parts of the source program.
Claim 9
Dependent Claim 116 words
A computer implemented method for analyzing program data comprising the steps of: analyzing a source program corresponding to a program in one of an interruption state and a termination state, and collecting an assignment-expression and a comparison-expression in the source program; obtaining variable names and variable addresses for variables contained in the assignment-expression and the comparison-expression; deriving a value of the variable of a data part in the program; determining whether left-hand parts and right-hand parts of the assignment-expression and the comparison-expression are consistent; and outputting the source program where the left-hand and right-hand parts of the expressions are determined to be consistent, in edited and distinguished form compared to other parts of the source program.

References Cited (Backward Citations)

US4730315A Cited
US4872167A Cited
US5191646A Cited
US5146594A Cited
US5038348A Cited
US5255385A Cited
US5293631A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1998-04-17 1998-10-17 1999-04-18 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2002-04-17 2002-10-17 2003-04-18 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2006-04-17 2006-10-17 2007-04-18 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag