1 19 20 25 26 package soot; 27 import soot.coffi.*; 28 import java.io.PrintStream ; 29 import java.util.*; 30 import soot.jimple.toolkits.pointer.util.NativeHelper; 31 import soot.jimple.spark.sets.P2SetFactory; 32 import soot.jimple.toolkits.invoke.*; 33 import soot.jimple.toolkits.pointer.UnionFactory; 34 import soot.shimple.*; 35 36 37 public class G extends Singletons 38 { 39 private static G instance = new G(); 40 public static G v() { return instance; } 41 public static void reset() { instance = new G(); } 42 43 public PrintStream out = System.out; 44 45 public class Global { 46 } 47 48 public long coffi_BasicBlock_ids = 0; 49 public Utf8_Enumeration coffi_CONSTANT_Utf8_info_e1 = new Utf8_Enumeration(); 50 public Utf8_Enumeration coffi_CONSTANT_Utf8_info_e2 = new Utf8_Enumeration(); 51 public int SETNodeLabel_uniqueId = 0; 52 public HashMap SETBasicBlock_binding = new HashMap(); 53 public boolean ASTAnalysis_modified; 54 public NativeHelper NativeHelper_helper = null; 55 public P2SetFactory newSetFactory; 56 public P2SetFactory oldSetFactory; 57 public HashMap Parm_pairToElement = new HashMap(); 58 public int SparkNativeHelper_tempVar = 0; 59 public int PaddleNativeHelper_tempVar = 0; 60 public boolean PointsToSetInternal_warnedAlready = false; 61 public HashMap MethodPAG_methodToPag = new HashMap(); 62 public Set MethodRWSet_allGlobals = new HashSet(); 63 public Set MethodRWSet_allFields = new HashSet(); 64 public int GeneralConstObject_counter = 0; 65 public UnionFactory Union_factory = null; 66 public HashMap Array2ndDimensionSymbol_pool = new HashMap(); 67 public Map AbstractUnit_allMapToUnnamed = Collections.unmodifiableMap(new AbstractUnitAllMapTo("<unnamed>")); 68 public List Timer_outstandingTimers = new ArrayList(); 69 public boolean Timer_isGarbageCollecting; 70 public Timer Timer_forcedGarbageCollectionTimer = new Timer("gc"); 71 public int Timer_count; 72 public final Map ClassHierarchy_classHierarchyMap = new HashMap(); 73 public final Map MethodContext_map = new HashMap(); 74 75 public ShimpleFactory shimpleFactory = new DefaultShimpleFactory(); 76 77 78 public boolean ASTTransformations_modified; 79 80 87 public boolean ASTIfElseFlipped; 88 89 90 91 public final boolean isJ2ME = false; 100 101 120 public boolean SootMethodAddedByDava; 121 public ArrayList SootClassNeedsDavaSuperHandlerClass = new ArrayList(); 122 public ArrayList SootMethodsAdded = new ArrayList(); 123 124 public ArrayList ASTMetricsData = new ArrayList(); 126 } 127 128 | Popular Tags |