Skip to content

Commit b3ac6f7

Browse files
committed
Fix a bug in toDex where it would use the wrong invoke opcode in some cases
1 parent e21e84c commit b3ac6f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/soot/toDex/ExprVisitor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private boolean isCallToConstructor(SpecialInvokeExpr sie) {
238238
}
239239

240240
private boolean isCallToSuper(SpecialInvokeExpr sie) {
241-
SootClass classWithInvokation = sie.getMethod().getDeclaringClass();
241+
SootClass classWithInvokation = sie.getMethodRef().getDeclaringClass();
242242
SootClass currentClass = stmtV.getBelongingClass();
243243

244244
while (currentClass != null) {

0 commit comments

Comments
 (0)