Package dk.brics.xact.analysis

Examples of dk.brics.xact.analysis.XMLAnalysis.loadClasses()


    public static void main(String[] args) throws IOException {
        // init xact
        XMLAnalysis analysis = new XMLAnalysis(null,
                Collections.singletonList(HotspotTest1.class.getName()));
        analysis.loadClasses();

        Set<ValueBox> hotspots = new HashSet<ValueBox>();
        Map<ValueBox, SootMethod> hotspot2method = new HashMap<ValueBox, SootMethod>();
        for (SootClass cl : Scene.v().getApplicationClasses()) {
            for (SootMethod m : cl.getMethods()) {
View Full Code Here


        // non constant gap names has been reported already - no need to crash
        // and burn on them
        System.setProperty("dk.brics.xact.analysis.ignore-non-constant-string",
                true + "");
        XMLAnalysis analysis = new XMLAnalysis(null, classes);
        analysis.loadClasses();
        analysis.setConfiguration(new JWIGConfiguration(stmt2box.values()));
        TranslationResult result = analysis.buildFlowGraph();

        analysis.transformFlowGraph(result.getGraph());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.