#java #reader-writer #bytecode #asm #read #java-asm #write

java_asm_internal

Java bytecode reader & writer in rust

4 releases

0.0.4 May 10, 2024
0.0.3 May 4, 2024
0.0.2 May 4, 2024
0.0.1 May 4, 2024

#2493 in Development tools

Download history 9/week @ 2024-07-23 8/week @ 2024-07-30 3/week @ 2024-09-17 28/week @ 2024-09-24

142 downloads per month

Apache-2.0

9KB
153 lines

java-asm

Crates.io Version

Java bytecode reader & writer, maybe a rust implementation for ASM

There are some similar projects in GitHub, but they didn't actually implement all JVM Bytecode format, and also not implements all ASM nodes/features in rust. So I want to build this library to fully read and write Java bytecode information.

This project supports much newer Java version(Java 21 currently) than other rust implementations. Only supports asm-tree api currently, not supports visitor api because Tree API is much easier to use than visitor api.

Current Stage

  • Implement Read Java class file with JVMS format
  • Implement Write Java class file with JVMS format
  • [WIP] Implement ASM nodes
  • [WIP] Implement ASM features (eg. auto calculate frame/stack etc.)

Some similar projects:

Dependencies

~1.5MB
~37K SLoC