Package soot.jimple.spark.ondemand

Examples of soot.jimple.spark.ondemand.DemandCSPointsTo


  {
    SootMethod mainMethod = Scene.v().getMainClass().getMethodByName("main");

    PointsToAnalysis pta = Scene.v().getPointsToAnalysis();
    if (pta instanceof DemandCSPointsTo) {
      DemandCSPointsTo demandCSPointsTo = (DemandCSPointsTo) pta;
      pta = demandCSPointsTo.getPAG();
    }   
    if (!(pta instanceof PAG))
    {
       throw new RuntimeException("You must use Spark for points-to analysis when computing MHP information!");
    }
View Full Code Here

TOP

Related Classes of soot.jimple.spark.ondemand.DemandCSPointsTo

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.