#java #jvmti

jvmti-rs

Rust bindings to the JVMTI

1 unstable release

0.17.0 Aug 3, 2024

#196 in FFI

Apache-2.0

415KB
10K SLoC

JVMTI Bindings for Rust

This project provides complete JVMTI bindings for Rust

Warning

The project is currently only available for testing.

Example

cd example
make // TODO

Thanks

TODO

  • Simplify JVMTIEnv functions, learn & use design for jni-rs#descriptors
  • Check all functions to ensure that the memory is released correctly [jvmti docs]
    • GetJNIFunctionTable: Untreated
  • Rich test cases
  • Read and parse loaded class files, by rust-jvmti
  • Generate byte code from loaded or created class files, by rust-jvmti
  • JVM byte code instrumentation/transformation

License

Dependencies

~1.3–7MB
~53K SLoC