Crates.io | java_asm_egui |
lib.rs | java_asm_egui |
version | 0.1.1 |
created_at | 2024-11-06 18:13:15.863889+00 |
updated_at | 2025-05-10 18:04:46.069409+00 |
description | Java bytecode reader & writer in rust |
homepage | https://crates.io/crates/java_asm |
repository | https://github.com/zsqw123/rust-java-asm |
max_upload_size | |
id | 1438656 |
size | 178,174 |
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
quote
and syn
)Some similar projects: