Projects STRLCPY jadx Commits 4aaea2b9
🤬
  • fix(gui): change callMethodName of constructors in Frida action (#1714)(PR #1715)

    * Change callMethodName of constructors in Frida action
    
    * Fix format violation in FridaAction
    
    * Fix format violation in FridaAction
  • Loading...
  • Mathis Hesse committed with GitHub 1 year ago
    4aaea2b9
    1 parent bc8d7c4f
  • ■ ■ ■ ■ ■ ■
    jadx-gui/src/main/java/jadx/gui/ui/codearea/FridaAction.java
    skipped 78 lines
    79 79   JavaMethod javaMethod = jMth.getJavaMethod();
    80 80   MethodInfo methodInfo = javaMethod.getMethodNode().getMethodInfo();
    81 81   String methodName = StringEscapeUtils.escapeEcmaScript(methodInfo.getName());
    82  - String callMethodName = methodName;
    83 82   
    84 83   if (methodInfo.isConstructor()) {
    85 84   methodName = "$init";
    86  - callMethodName = "$new";
    87 85   }
     86 + 
     87 + String callMethodName = methodName;
    88 88   String shortClassName = javaMethod.getDeclaringClass().getName();
    89 89   
    90 90   String functionUntilImplementation;
    skipped 96 lines
Please wait...
Page is in error, reload to recover