Skip to content

zsqw123/rust-java-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, ASM nodes reader
    • Constant pool
    • Attributes
    • Class / Field / Method metadata
    • Method instructions
    • Method frames
    • Method local variables / stacks / try-catches
  • Not Start, Nodes writer
  • Not Start, Implement ASM features (eg. auto calculate frame/stack etc.)

Some similar projects:

About

Java bytecode reader & writer, a rust implementation for java asm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages