Skip to content

Commit

Permalink
Gnarf
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcMil committed Dec 23, 2021
1 parent f85d293 commit 4092be9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions src/main/java/soot/dexpler/DexBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

import static soot.dexpler.instructions.InstructionFactory.fromInstruction;

import com.google.common.collect.ArrayListMultimap;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
Expand Down Expand Up @@ -61,8 +62,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.common.collect.ArrayListMultimap;

import soot.Body;
import soot.DoubleType;
import soot.Local;
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/soot/jimple/toolkits/typing/TypeAssigner.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@ protected static void replaceNullType(Body b) {
}

for (Unit u : unitToReplaceByException) {
if (b.getMethod().getDeclaringClass().getFieldCount() == 3) {
if (b.getMethod().getParameterCount() == 0 && b.toString().contains("android.database.ContentObserver")
&& u.toString().contains("unregisterContentObserver"))
System.out.println();
}
soot.dexpler.Util.addExceptionAfterUnit(b, "java.lang.NullPointerException", u,
"This statement would have triggered an Exception: " + u);
b.getUnits().remove(u);
Expand Down

0 comments on commit 4092be9

Please sign in to comment.