Package soot.jimple.toolkits.callgraph

Examples of soot.jimple.toolkits.callgraph.Targets


                        // System.out.println("skipping " + container + ":" +
                        //        s + ": not virtual");
                        continue;
                    }

                    Iterator targets = new Targets(cg.edgesOutOf(s));

                    if (!targets.hasNext()) {
                        continue;
                    }

                    SootMethod target = (SootMethod) targets.next();

                    if (targets.hasNext()) {
                        continue;
                    }

                    // Ok, we have an Interface or VirtualInvoke going to 1.
                    if (!AccessManager.ensureAccess(container, target,
View Full Code Here


                // If any targets of the invocation have side effects,
                // then they cannot be removed.
                boolean removable = true;

                for (Iterator i = new Targets(callGraph.edgesOutOf(unit)); i
                        .hasNext()
                        && removable;) {
                    SootMethod targetMethod = (SootMethod) i.next();

                    // System.out.println("Checking Target = " + targetMethod);
                    if (analysis.hasSideEffects(targetMethod)) {
                        removable = false;
                    }
View Full Code Here

TOP

Related Classes of soot.jimple.toolkits.callgraph.Targets

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.