Package qilin.util
Class ViewFactory
java.lang.Object
qilin.util.ViewFactory
Builds a
View over an application's classpath, library jars and a JRE.-
Method Summary
Modifier and TypeMethodDescriptionstatic ViewcreateView(String appPath, String libPath) LikecreateView(String, String, String), but resolves the JRE against the current JVM's own runtime image (DefaultRuntimeAnalysisInputLocation) instead of an external JRE stub directory.static ViewcreateView(String appPath, String libPath, String jrePath)
-
Method Details
-
createView
-
createView
LikecreateView(String, String, String), but resolves the JRE against the current JVM's own runtime image (DefaultRuntimeAnalysisInputLocation) instead of an external JRE stub directory. Only safe for analyses that don't needFakeMainFactory's pre-JDK9 JVM-bootstrap modeling (i.e.PointerAnalysisConfig.singleEntry(true)) - that block references JDK6/7/8-internal classes (e.g.sun.misc.Launcher$AppClassLoader) removed by the JPMS module system in JDK9+.
-