| Crates.io | java_asm |
| lib.rs | java_asm |
| version | 0.1.3 |
| created_at | 2024-05-04 18:46:31.617687+00 |
| updated_at | 2026-01-06 15:36:31.203712+00 |
| description | Java bytecode reader & writer in rust |
| homepage | |
| repository | https://github.com/zsqw123/rust-java-asm |
| max_upload_size | |
| id | 1229758 |
| size | 303,744 |
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 LTS 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.
We have a simple GUI build by egui to show decompiled files. but current support only for apk, and we are actively working on it.

After version 0.0.6, you can try to use ClassNode::from_jvms to read a class file into a ClassNode,
and it is pretty useful to now, check tests in this project to
see some examples.
ClassNode reader
asm_egui folder)
ta folder)
Recent days, I think using tauri will bring us a better UX, so I decided to use tauri for flexible interactions and share web technologies to boost the development. Using pure rust for frontend (egui or iced solution) is complex for handle so many things (like font fallbacks, search bars, code highlighting and copy & paste, etc.)
quote and syn)Some similar projects: