cfsp

Crates.iocfsp
lib.rscfsp
version1.0.1
sourcesrc
created_at2023-07-29 16:40:43.573702
updated_at2023-07-31 10:28:46.975
descriptionA JVM Bytecode Manipulation Framework inspired by ASM.
homepage
repositoryhttps://github.com/ChAoSUnItY/cfsp
max_upload_size
id929338
size6,994,103
ChAoS_UnItY (Kyle Lin) (ChAoSUnItY)

documentation

README

ClassFile Structural Parser (CFSP)

crates.io codecov

A general usage parser used to parse class file into structural nodes.

This class file parser implementation is support up to Java SE 20 based on The Java® Virtual Machine Specification Java SE 20 Edition.

About Performance

Currently, classfile_parser's performance is guaranteed to be parsing whole class file in < 1 ms on average-sized class file. However, the timing might be varied based on the instruction control flow and attributes. (For example, take a look at the ~/compiled_source/src/MegaSized.java, this can produce class file that weighs over 6 MB, which would take 50 ms to parse).

The performance currently is not very ideal compare to classfile-rs's implementation.

(Note: Though there's possibility that this performance is lead by full implementation.)

Commit count: 31

cargo fmt