Skip to content

Can't handle cross method #58

Description

@InkerBot

with this example jar, obfuscate it with config disable all transform

package test;

public interface Inte {
  int apply(int a);
}
package test;

public class Abst {
  public int apply(int a) {
    return a + 3;
  }
}
package test;

public class Top extends Abst implements Inte {

  public static void main(String[] args) {
    Inte inte = new Top();
    if (inte.apply(3) == 6) {
      System.out.println("success");
    } else {
      System.out.println("failure");
    }
  }
}

SimpleCrossTest.jar.gz

It will crash with

Exception in thread "main" java.lang.AbstractMethodError: Receiver class test.Top does not define or inherit an implementation of the resolved method 'abstract int apply$2137891494(int, int)' of interface test.Inte.
        at test.Top.main(Top.java)

BTW, Gen3Flow can't be disabled maybe another issue

linked #57

Skidfuscator can't put test.Abst#apply test.Inte#apply into one group, may cause by this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions