1 19 20 24 package soot.jimple.toolkits.pointer.nativemethods; 25 26 import soot.*; 27 import soot.jimple.toolkits.pointer.representations.*; 28 import soot.jimple.toolkits.pointer.util.*; 29 30 public abstract class NativeMethodClass { 31 32 private static final boolean DEBUG = false; 33 protected NativeHelper helper; 34 public NativeMethodClass(NativeHelper helper) { 35 this.helper = helper; 36 } 37 38 41 public static void defaultMethod(SootMethod method, 42 ReferenceVariable thisVar, 43 ReferenceVariable returnVar, 44 ReferenceVariable params[]){ 45 if (DEBUG) { 46 G.v().out.println("No side effects : "+method.toString()); 47 } 48 } 49 50 51 public abstract void simulateMethod(SootMethod method, 52 ReferenceVariable thisVar, 53 ReferenceVariable returnVar, 54 ReferenceVariable params[]); 55 56 57 } 58 | Popular Tags |