Application program analysis method, analysis system and recording medium for identifying a contributing factor for an invalid operation of an application program
First Claim
1. An application program analysis method used by an analysis system that comprises a processor for executing an application program comprising a plurality of program statements and a plurality of database operation statements and a memory for storing the application program executed by the processor for analyzing the application program, the application program analysis method comprising:
- a first step of analyzing, by the processor, a control flow of the application program and execution data used in the application program based on the application program and an execution result of the application program;
a second step of analyzing, by the processor, a dependency relationship among the plurality of database operation statements of the application program based on a result of the analysis of the first step and specifics of operations of the plurality of database operation statements of the application program;
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 of the application program backwards to obtain program statements of the application program on the propagation route; and
a fourth step of presenting, by the processor, the program statements of the application program on the propagation route obtained in the third step to a user.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method for analyzing a program that includes database operation statements, 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.
7 Citations
8 Claims
-
1. An application program analysis method used by an analysis system that comprises a processor for executing an application program comprising a plurality of program statements and a plurality of database operation statements and a memory for storing the application program executed by the processor for analyzing the application program, the application program analysis method comprising:
-
a first step of analyzing, by the processor, a control flow of the application program and execution data used in the application program based on the application program and an execution result of the application program; a second step of analyzing, by the processor, a dependency relationship among the plurality of database operation statements of the application program based on a result of the analysis of the first step and specifics of operations of the plurality of database operation statements of the application program; 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 of the application program backwards to obtain program statements of the application program on the propagation route; and a fourth step of presenting, by the processor, the program statements of the application program on the propagation route obtained in the third step to a user. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An analysis system comprising a processor for executing an application program comprising a plurality of program statements and a plurality of database operation statements and a memory for storing the application program executed by the processor for analyzing the application program, the processor being configured to:
-
analyze a control flow of the application program and execution data used in the application program based on the application program and an execution result of the application program; analyze a dependency relationship among the plurality of database operation statements of the application program based on a result of the analysis of the control flow of the application program and the execution data used in the application program and specifics of operations of the plurality of database operation statements of the application program; analyze, based on the result of the analysis of the control flow of the application program and the execution data used in the application program and a result of the analysis of the dependency relationship among the plurality of database operation statements of the application program, 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 of the application program backwards to obtain program statements of the application program on the propagation route; and present the obtained program statements of the application program on the propagation route to a user.
-
-
8. A non-transitory recording medium having stored thereon an analysis program used by an analysis system comprising a processor for executing an application program comprising a plurality of program statements and a plurality of database operation statements and a memory for storing the application program executed by the processor for analyzing the application program, the analysis program controlling the analysis system to execute:
-
a first step of analyzing a control flow of the application program and execution data used in the application program based on the application program and an execution result of the application program; a second step of analyzing, a dependency relationship among the plurality of database operation statements of the application program based on a result of the analysis of the first step and specifics of operations of the plurality of database operation statements of the application program; 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 of the application program backwards to obtain program statements of the application program on the propagation route; and a fourth step of presenting the program statements of the application program on the propagation route obtained in the third step to a user.
-
Specification