Java bytecode equivalents for ilasm / ildasm

后端 未结 2 1163
Happy的楠姐
Happy的楠姐 2021-02-10 03:20

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:48

    Jasmin:

    http://jasmin.sourceforge.net/

    It's an assembler for Java bytecode. While an above poster pointed out that hand-coding Java bytecode may not be very useful, Jasmin has been used as a backend for compilers targeting the JVM as a runtime. Thus, your compiler can output Jasmin assembler instructions and then Jasmin converts them into Java classes.

提交回复
热议问题