Proguard函数名称不明确 [英] Proguard function names ambiguity

查看:73
本文介绍了Proguard函数名称不明确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道有一些选项可以防止在混淆过程中为不同的函数赋予相同的名称.

I need to know is there some option to prevent giving same name to different functions during obfuscation.

映射文件:

org.apache.http.impl.client.cache.BasicHttpCacheStorage -> org.apache.http.impl.client.cache.f:
    67:68:void putEntry(java.lang.String,org.apache.http.client.cache.HttpCacheEntry) -> a
    78:78:org.apache.http.client.cache.HttpCacheEntry getEntry(java.lang.String) -> a

我想为不同的功能使用不同的名称,而不是行间隔. 谢谢

I'd like to have different names for different functions instead of lines interval. Thanks

推荐答案

选项-useuniqueclassmembernames会执行此操作,至少对于不以重载开头的名称(Java允许重载名称,只要参数类型不同即可) ).

The option -useuniqueclassmembernames does this, at least for names that aren't overloaded to start with (java allows overloaded names as long as the argument types are different).

这篇关于Proguard函数名称不明确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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