public class JimpleParser extends SceneObject implements ProgramParser
Program.| Constructor and Description |
|---|
JimpleParser(SceneObject sceneObject,
JimpleToAbstractSemantics translationDef)
Creates a new parser.
|
| Modifier and Type | Method and Description |
|---|---|
Program |
parse(String classpath,
String classname,
String entryPoint)
Transforms a source code file into a ProgramImpl that can be analyzed.
|
scenepublic JimpleParser(SceneObject sceneObject, JimpleToAbstractSemantics translationDef)
translationDef - The underlying translation of Jimple objects to our own semantics objects.public Program parse(String classpath, String classname, String entryPoint)
ProgramParserparse in interface ProgramParserclasspath - The path to a source code fileclassname - The name of the class to transform into a ProgramImpl.entryPoint - The initial method that is invoked on running the parsed program.Copyright © 2018. All rights reserved.