Date of Award
2017
Publisher
North Dakota State University
Document Type
Master's Paper
Degree Awarded
Master of Science (MS)
Program
Software Engineering
Department
Computer Science
College
Engineering
Faculty Advisor
Magel, Kenneth
Description
Class analysis is useful technique that can be used in many situations, from the syntaxes parsing, potential bugs finding, and unused code detecting to reverse engineer coding. In this paper, I write a small program classasm analysis the java class by calling the methods in ASM library. Here, the ASM name does not mean anything: it is just a reference to the “_asm_” keyword in C, which allows some functions to be implemented in assembly language. In Java, the ASM provides methods to read write and transform such byte arrays by using higher level concepts than bytes, that mean through the API in the ASM library we can analysis the class without reading the source code. ASM supply method to attract information from the compiled class file. In the research I use the simple company classes and the disconf-core-2.6.35.jar as examples, to show the results.
Recommended Citation
Qiu, Chengxiang, "A Java Class Analysis Program Development By ASM Library" (2017). Computer Science. 253.
https://digitalcommons.ndsu.edu/computer-sci/253
Rights
NDSU Policy 190.6.2
Rights Link
https://www.ndsu.edu/fileadmin/policy/190.pdf
Handle Identifier
https://hdl.handle.net/10365/27072