Speykious / cve-rs

Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Port to Java

Codetoil opened this issue · comments

Reason: image

oh no

Second Reason: I am a Java Programmer.

commented
@NotNull String hi = null;
commented

import sun.misc.Unsafe;

Simply put

while (true) System.gc();

into your code.

commented

Simply put

while (true) System.gc();

into your code.

the funny thing is
this is actually safe, but still worse than doing something unsafe because it will keep pausing the jvm on all threads indefinitely, meaning it will do nothing else in any thread ever again