反编译混淆的Java字节码

编程入门 行业动态 更新时间:2024-10-12 18:21:26
本文介绍了反编译混淆的Java字节码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在运行Java应用程序的平台上工作.这些应用程序经常被混淆,其中大多数使用ProGuard,这使得调试我们平台的问题非常困难.

I work on a platform which runs Java apps. Those apps are often obfuscated, most of them using ProGuard, which makes debugging issues with our platform very difficult.

当前,我正在使用JD( java.decompiler.free.fr/ )反编译这些应用. JD做得不错,但是有时生成的代码太难理解了.

Currently I'm using JD (java.decompiler.free.fr/ ) to decompile it those apps. JD does a decent job, but sometimes the generated code is too difficult to understand.

发生这种情况的主要原因是,混淆工具利用了JVM字节码的较少约束规范来生成有效的字节码,该字节码没有映射回有效的Java代码(例如:积极的重载).

This appears to happen mainly because obfuscation tools exploit the less constrained spec of JVM Bytecode to produce valid bytecode which doesn't map back to valid Java code (example: aggressive overloading).

所以,我的问题是:是否有专门用于处理混淆后的字节码的反编译器?

So, my question is: is there a decompiler built especially to deal with obfuscated bytecode?

推荐答案

我怀疑任何反编译器都会这样做.但是,您可以使用 ASM 之类的东西来实现自定义字节码转换并重命名重载的方法和变量名.

I doubt any decompilers do that. However you could implement custom bytecode transformation and rename overloaded method and variable names using something like ASM.

更多推荐

反编译混淆的Java字节码

本文发布于:2023-11-07 19:30:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567222.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字节   反编译   Java

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!