More Bytecode and Attributes support
This commit is contained in:
parent
8a79a28b5f
commit
b751fc3588
3 changed files with 274 additions and 22 deletions
|
@ -1,9 +1,10 @@
|
|||
use std::fs::File;
|
||||
|
||||
mod classfile;
|
||||
mod bytecode;
|
||||
|
||||
fn main() {
|
||||
let class_file = classfile::JavaClassFile::new(&mut File::open("Main.class").unwrap()).unwrap();
|
||||
let class_file = classfile::JavaClassFile::new(&mut File::open("class/HashMap.class").unwrap()).unwrap();
|
||||
|
||||
println!("{:#?}", class_file);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue