classfile-parser
classfile-parser copied to clipboard
:coffee: A parser for Java Classfiles written in rust
At the moment, the code parser is not tested against all opcodes. Ideally, we can reuse an existing corpus of opcodes to test our implementation.
Currently almost everything is public, which isn't great. The only way to parse your own byte array requires calling the parsing code yourself and dealing with the result from nom,...
A parser is required for LocalVariableTypeTable attributes https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.14
A parser is required for LocalVariableTable attributes https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.13
A parser is required for LineNumberTable attributes https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.12