Skip to content

TIMER-err/jvm-runtime-noverfiy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disable Java Bytecode Verification at Runtime

⚠WARNING: Disabling bytecode verification introduces significant security vulnerabilities and can lead to JVM instability.

Build

$ gcc -s -shared -o disabler.dll disabler.c

Usage

To utilize this library, load the compiled native library wherever you want.

static {
    System.loadLibrary("disabler");
}

Then the Bytecode Verification should be disabled.

Compatibility

This method has been successfully tested and confirmed to work on JDK versions ranging from 8 to 21.

The current implementation is primarily targeted for the Windows operating system. However, the underlying logic is not complex and can be ported to other operating systems (such as Linux or macOS) with minor modifications.

Acknowledgments

This project is inspired with noverify-hackery

About

Disable JVM Bytecode Verfication at Runtime, Written in C

Topics

Resources

License

Stars

Watchers

Forks

Contributors