Java反编译器与java反汇编程序 [英] Java decompiler vs java disassembler
问题描述
我正在准备核心java并且我有以下疑问
I am preparing core java and i got following doubt
javap 是反汇编程序还是反编译程序?他们之间有什么区别?使用哪些java CLI命令?
javap is dis-assembler or de-compiler? what is the difference between them? which java CLI commands are used ?
推荐答案
Javap只是一个非正式的反汇编程序,它的输出为您提供有关字节码,但不适合被汇编程序使用,而是由人类阅读。
Javap is just an "informal" dis-assembler, its output gives you information about the bytecode, but is not suitable for it to be used by an "assembler", it is rather for it to be read by a human.
传统的区别(来自C语言世界):
The traditional difference (from the C language world):
- 编译器:将相对高级的源代码编译为汇编语言
- 汇编程序:将汇编代码编译为机器代码
得出解编译器和反汇编程序的结论
take your conclusions for "de-compiler" and "dis-assembler"
有时,执行这两个步骤(反汇编和反编译)的软件也称为反编译器,但仍取决于上下文
Sometimes a software that does both steps (disassemble and decompile) is also called a decompiler, but it still depends on the context
这篇关于Java反编译器与java反汇编程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!