APPLICATION ANALYSIS METHOD, ANALYSIS SYSTEM AND RECORDING MEDIUM
First Claim
1. An application program analysis method to be used by an analysis system that comprises a processor for executing a program and a memory for storing the program executed by the processor for analyzing an application program that comprises a database operation statement, the application program analysis method comprising:
- a first step of analyzing, by the processor, a control flow of the application program and data used in the application program based on the application program and on an execution result of the application program;
a second step of analyzing, when the application program comprises a plurality of database operation statements, by the processor, a dependency relation among the plurality of database operation statements based on a result of the analysis of the first step and specifics of operations of the plurality of database operation statements;
a third step of analyzing, by the processor, based on the result of the analysis of the first step and a result of the analysis of the second step, a propagation route of an invalid operation of the application program by using, as an analysis start point, a given spot of the invalid operation in the application program and following the control flow backwards; and
a fourth step of presenting, by the processor, program statements on the propagation path obtained in the third step.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method for analyzing a program that includes database operation statements, said method including: a first procedure for analyzing control flow of a program and data used in the program, on the basis of the program and the execution result of the program; a second procedure for analyzing the dependency relationship among a plurality of database operation statements, in accordance with the analysis result of the first procedure and the operation details of the plurality of database operation statements; a third procedure for analyzing the propagation path of the incorrect operation in the opposite direction to the control flow, on the basis of the analysis result of the first procedure and the analysis result of the second procedure and taking as a starting point for analysis a predetermined program location which is operating incorrectly; and a fourth procedure for displaying program statements on the propagation path obtained by the third procedure.
12 Citations
8 Claims
-
1. An application program analysis method to be used by an analysis system that comprises a processor for executing a program and a memory for storing the program executed by the processor for analyzing an application program that comprises a database operation statement, the application program analysis method comprising:
-
a first step of analyzing, by the processor, a control flow of the application program and data used in the application program based on the application program and on an execution result of the application program; a second step of analyzing, when the application program comprises a plurality of database operation statements, by the processor, a dependency relation among the plurality of database operation statements based on a result of the analysis of the first step and specifics of operations of the plurality of database operation statements; a third step of analyzing, by the processor, based on the result of the analysis of the first step and a result of the analysis of the second step, a propagation route of an invalid operation of the application program by using, as an analysis start point, a given spot of the invalid operation in the application program and following the control flow backwards; and a fourth step of presenting, by the processor, program statements on the propagation path obtained in the third step. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An analysis system that comprises a processor for executing a program and a memory for storing the program executed by the processor, for analyzing an application program that comprises a database operation statement,
the processor being configured to: -
analyze a control flow of the application program and data used in the application program based on the application program and on an execution result of the application program; analyze, when the application program comprises a plurality of database operation statements, a dependency relation among the plurality of database operation statements based on a result of the analysis on the application program and specifics of operations of the plurality of database operation statements; analyze, based on the result of the analysis on the application program and a result of the analysis on the plurality of database operation statements, a propagation route of an invalid operation of the application program by using, as an analysis start point, a given spot of the invalid operation in the application program and following the control flow backwards; and present program statements on the propagation path.
-
-
8. A recording medium having stored thereon an analysis program to be used for an analysis system that comprises a processor for executing a program and a memory for storing the program executed by the processor, for analyzing an application program that comprises a database operation statement, the analysis program controlling the analysis system to execute:
-
a first step of analyzing a control flow of the application program and data used in the application program based on the application program and on an execution result of the application program; a second step of analyzing, when the application program comprises a plurality of database operation statements, a dependency relation among the plurality of database operation statements based on a result of the analysis of the first step and specifics of operations of the plurality of database operation statements; a third step of analyzing, based on the result of the analysis of the first step and a result of the analysis of the second step, a propagation route of an invalid operation of the application program by using, as an analysis start point, a given spot of the invalid operation in the application program, and following the control flow backwards; and a fourth step of presenting program statements on the propagation path obtained in the third step.
-
Specification