Java decompiler and Java disassembler
•
Java
I'm preparing the core Java. I have questions
Is javap a disassembler or a decompiler? What's the difference between them? What Java cli commands are used?
Solution
Javap is just an "informal" disassembly program. Its output provides you with information about bytecode, but it is not suitable for use by "assembler", but read by human beings
Traditional differences (from the C language world):
>Compiler: compile relatively high-level source code into assembly language > assembler: compile assembly code into machine code
Use your conclusions for decompilers and disassemblers
Sometimes, the software that performs these two steps (disassembly and decompilation) is also called decompiler, but it still depends on the context
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码