如何在我的源代码中从混淆的 ProGuard 类名中找到真正的类名? [英] How to find the real class name from obfuscated ProGuard classname in my source code?

查看:59
本文介绍了如何在我的源代码中从混淆的 ProGuard 类名中找到真正的类名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了一封来自 Google 的电子邮件,内容涉及TrustManager 的不安全实施唯一的线索是有问题的代码在 com.b.a.af 类中.显然,这是混淆的名称.在我自己的源代码中,我如何从混淆的类名中获取真正的类名.有没有办法查找 ProGuard 所做的映射?谢谢!

I got an email from Google about unsafe implementation of TrustManager with the only clue that the problematic code is in com.b.a.af class. Clearly that's the obfuscated name. How would I get the real class name from that obfuscated class name, in my own source code. Is there any way to lookup the mapping that ProGuard does? Thanks!

推荐答案

如果你有映射,每个类应该是这样的:

If you have the mappings each class should look like this:

me.vader.event.EventMouseClick -> f:
    int buttonID -> q
    boolean mouseDown -> r
    void <init>() -> <init>
    void fire(int,boolean) -> a
    int getButtonID() -> n

您可以在约定之前 -> 之后看到明显的内容.所以找到原来的名字应该很容易.

You can see the obvious before -> after convention. So finding the original names should be really easy.

这篇关于如何在我的源代码中从混淆的 ProGuard 类名中找到真正的类名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆