Java bytecode equivalents for ilasm / ildasm

后端 未结 2 1387
梦毁少年i
梦毁少年i 2021-02-10 03:08

For CIL / MSIL, I can write the code in a text editor and compile / decompile with ilasm / ildasm.

I can use Reflector to see the CIL generated by a .NET class.

2条回答
  •  青春惊慌失措
    2021-02-10 03:30

    Bytecode Outline plugin for Eclipse

    to play with bytecode you can use ASM or BCEL

    Take a look at org.apache.bcel.util.BCELifier, it takes a given class and converts it to a BCEL program (in Java, of course). It will show you how certain code is generated using BCEL.

提交回复
热议问题