是否可以查看Java类文件字节码 [英] Is it possible to view a Java class files bytecode

查看:346
本文介绍了是否可以查看Java类文件字节码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Java进行字节码操作/生成,我只是想知道是否有一种简单的方法可以检查字节码。我不想反编译文件,我想实际看看编译后的字节码。我不需要编辑它。任何这样做的链接或程序都是可以接受的答案。

I am working on a bytecode manipulation/generation in Java and I was just wondering if there is an easy way I could check the bytecode. I do not want to decompile the file, I would like to actually look at the compiled bytecode. I do not need to edit it. Any links or programs for doing this would be acceptable answers.

推荐答案

我一直在研究反编译器,它具有颜色编码的字节码输出模式(我发现它比javap更具可读性)。它还可以输出Java代码或中间'字节码AST'。

I've been working on a decompiler that has a color-coded bytecode output mode (which I find far more readable than javap). It can also output Java code or an intermediate 'bytecode AST'.

这篇关于是否可以查看Java类文件字节码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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