Title :
A markup language for java bytecode
Author :
You, Liang ; Lu, Yansheng
Author_Institution :
Coll. of Comput. Sci. & Technol., Huazhong Univ. of Sci. & Technol., Wuhan, China
Abstract :
Using abstract syntax tree as the basis of static analysis of Java program have many difficulties. The paper defines a XML data structure for Java bytecode, instead of abstract syntax tree as the basis of static analysis of Java program. The XML data structure is formally defined by using Java bytecode specification and XML schema specification. Comparing with the method that converts Java source code to the XML data structure directly, the paper analyzes advantages of the bytecode-based conversion method and difference of the XML data structure between bytecode-based method and source code based method. Using the XML data structure for Java bytecode, the paper defines the method that splits the declaration part and implementation part of Java program. It also emphasizes the importance of splitting process. Finally, the paper demonstrates the XML data structure of the example program.
Keywords :
Java; XML; formal specification; program diagnostics; programming language semantics; source coding; tree data structures; Java bytecode specification; Java program; XML data structure; XML schema specification; abstract syntax tree; bytecode-based conversion method; markup language; source code based method; splitting process; static analysis; Abstracts; Data structures; Educational institutions; Java; Syntactics; XML; XML; abstract syntax tree; bytecode; java;
Conference_Titel :
Systems and Informatics (ICSAI), 2012 International Conference on
Conference_Location :
Yantai
Print_ISBN :
978-1-4673-0198-5
DOI :
10.1109/ICSAI.2012.6223542