Title :
Using data flow analysis to infer type information in Java bytecode
Author :
Maggi, Paolo ; Sisto, Riccardo
Author_Institution :
Dipt. di Autom. e Inf., Politecnico di Torino, Italy
Abstract :
The paper shows how dataflow analysis can be used to infer type information related to Java bytecode, and evaluates this approach. All the elements needed to specify the dataflow problem to be solved are conveniently defined, according to the theory on data flow frameworks, along with algorithms to build them automatically from the Java bytecode. To evaluate the approach, we consider the specific problem of statically determining the set of methods potentially invoked by each method call instruction, which is useful for several purposes, such as building accurate call graphs. Experimental results are presented, showing that data flow analysis can improve the accuracy of the results with respect to other simpler techniques at acceptable costs
Keywords :
Java; data flow analysis; graph theory; type theory; Java bytecode; accurate call graphs; data flow analysis; data flow frameworks; dataflow problem; method call instruction; type information inference; Algorithm design and analysis; Costs; Data analysis; Flow graphs; Information analysis; Java; Optimizing compilers; Performance analysis; Software performance; Software tools;
Conference_Titel :
Source Code Analysis and Manipulation, 2001. Proceedings. First IEEE International Workshop on
Conference_Location :
Florence
Print_ISBN :
0-7695-1387-5
DOI :
10.1109/SCAM.2001.972683