Proguard function names ambiguity

非 Y 不嫁゛ 提交于 2019-12-01 12:58:19

问题


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

Mapping file:

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


回答1:


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).



来源:https://stackoverflow.com/questions/13008613/proguard-function-names-ambiguity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!