An open API service indexing awesome lists of open source software.

https://github.com/timer-err/jvm-runtime-noverfiy

Disable JVM Bytecode Verfication at Runtime, Written in C
https://github.com/timer-err/jvm-runtime-noverfiy

asm bytecode hack java jvm noverify

Last synced: 23 days ago
JSON representation

Disable JVM Bytecode Verfication at Runtime, Written in C

Awesome Lists containing this project

README

          

# Disable Java Bytecode Verification at Runtime

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

## Build

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

## Usage

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

```java
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](https://github.com/char/noverify-hackery)