We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4cd59 commit 3f744e5Copy full SHA for 3f744e5
1 file changed
soot-infoflow/src/soot/jimple/infoflow/entryPointCreators/BaseEntryPointCreator.java
@@ -540,6 +540,10 @@ protected boolean acceptClass(SootClass clazz) {
540
// We cannot create instances of phantom classes as we do not have any
541
// constructor information for them
542
if (!clazz.getName().equals("android.view.View")) {
543
+ if (clazz.isPhantom() || clazz.isPhantomClass()) {
544
+ clazz.setLibraryClass();
545
+ }
546
+ Scene.v().forceResolve(clazz.getName(), SootClass.SIGNATURES);
547
if (clazz.isPhantom() || clazz.isPhantomClass()) {
548
logger.warn("Cannot generate constructor for phantom class {}", clazz.getName());
549
return false;
0 commit comments