Crates.io | cfsp |
lib.rs | cfsp |
version | 1.0.1 |
source | src |
created_at | 2023-07-29 16:40:43.573702 |
updated_at | 2023-07-31 10:28:46.975 |
description | A JVM Bytecode Manipulation Framework inspired by ASM. |
homepage | |
repository | https://github.com/ChAoSUnItY/cfsp |
max_upload_size | |
id | 929338 |
size | 6,994,103 |
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.
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.)