Patent ID: 9672016
Date: 2017-06-06
CPC Classifications: G06F

Claim:
1. A non-transitory computer-readable recording medium having a program stored therein for causing a computer to execute a process of processing a program by repeating analysis and execution of a source code having been read, the process comprising: storing a tree structure, in which a source code of a function is associated with a function name to be positioned lower than the function name, in a memory upon extracting a function definition portion by the analysis; determining whether an intermediate representation corresponding to an analysis result is associated with the function name indicated by a function calling part upon extracting the function calling part from the source code of the function by the analysis; generating the intermediate representation by acquiring and analyzing the source code by using the function name from the tree structure, when the intermediate representation is not associated with the function name indicated by the function calling part; storing the generated intermediate representation with association of the function name and positioning the generated intermediate representation lower than the function name in the tree structure; and adding an association between the function and the generated intermediate representation in the tree structure until executing an end of the source code having been read for the analysis and the execution.