hacks for android stuff
This commit is contained in:
parent
405f136694
commit
cc5f683333
|
@ -77,7 +77,17 @@ public abstract class DroidBenchCGTest extends DalvikCallGraphTestBase {
|
||||||
x = HashSetFactory.make();
|
x = HashSetFactory.make();
|
||||||
x.add(ref("Ledu/mit/dynamic_dispatch/A", "f", "()Ljava/lang/String;"));
|
x.add(ref("Ledu/mit/dynamic_dispatch/A", "f", "()Ljava/lang/String;"));
|
||||||
uncalledFunctions.put("VirtualDispatch2.apk", x);
|
uncalledFunctions.put("VirtualDispatch2.apk", x);
|
||||||
}
|
|
||||||
|
x = HashSetFactory.make();
|
||||||
|
x.add(ref("Ledu/mit/dynamic_dispatch/A", "f", "()Ljava/lang/String;"));
|
||||||
|
uncalledFunctions.put("VirtualDispatch2.apk", x);
|
||||||
|
|
||||||
|
// TODO: remove once we understand the XML better
|
||||||
|
x = HashSetFactory.make();
|
||||||
|
x.add(ref("Lde/ecspride/Button2", "clickOnButton3", "(Landroid/view/View;)V"));
|
||||||
|
uncalledFunctions.put("Button2.apk", x);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public static Set<IMethod> assertUserCodeReachable(CallGraph cg, Set<MethodReference> uncalled) throws InvalidClassFileException {
|
public static Set<IMethod> assertUserCodeReachable(CallGraph cg, Set<MethodReference> uncalled) throws InvalidClassFileException {
|
||||||
Set<IMethod> result = HashSetFactory.make();
|
Set<IMethod> result = HashSetFactory.make();
|
||||||
|
|
Loading…
Reference in New Issue