Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-classfile

A simple Java Class file decoder for Rust.

Features

Usage

use java_classfile::decode;
use java_classfile::types::JavaClassFile;

let bytes: [u8] = [...];
let java_class_file: JavaClassFile = decode(&bytes);

Supportes Features

  • All Constant Pool entries.
  • Attributes
    • We have NOT supported decoding Attributes, but we are ready to implement in some days.
    1. Critical to correct interpretation
    • ConstantValue
    • Code
    • StackMapTable
    • BootstrapMethods
    • NestHost
    • NestMembers
    • PermittedSubclasses
    1. Critical to correct interpretation of the class files of Java SE Platform
    • Exceptions
    • InnerClasses
    • EnclosingMethod
    • Synthetic
    • Signature
    • Record
    • Sourcefile
    • LineNumberTable
    • LocalVariableTable
    • LocalVariableTypeTable
    1. Not critical to correct interpretation but contain metadata
    • SourceDebugExtension
    • Deprecated
    • RuntimeVisibleAnnotations
    • RuntimeInvisibleAnnotations
    • RuntimeVisibleParameterAnnotations
    • RuntimeInvisibleParameterAnnotations
    • RuntimeVisibleTypeAnnotations
    • RuntimeInvisibleTypeAnnotations
    • AnnotationDefault
    • MethodParameters
    • Module
    • ModulePackages
    • ModuleMainClass

About

A simple Java Class file decoder for Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages