未验证 提交 4aaea2b9 编写于 作者: M Mathis Hesse 提交者: GitHub

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
上级 bc8d7c4f
......@@ -79,12 +79,12 @@ public final class FridaAction extends JNodeAction {
JavaMethod javaMethod = jMth.getJavaMethod();
MethodInfo methodInfo = javaMethod.getMethodNode().getMethodInfo();
String methodName = StringEscapeUtils.escapeEcmaScript(methodInfo.getName());
String callMethodName = methodName;
if (methodInfo.isConstructor()) {
methodName = "$init";
callMethodName = "$new";
}
String callMethodName = methodName;
String shortClassName = javaMethod.getDeclaringClass().getName();
String functionUntilImplementation;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册