Skip to content

Commit

Permalink
Update & clarify README
Browse files Browse the repository at this point in the history
  • Loading branch information
Rongmario committed Feb 15, 2024
1 parent 4cdd8b5 commit daea66c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# Imagine Breaker [幻想殺し]


### *I will destroy that illusion of yours.*
### *I will destroy that illusion of yours.*

<sub>(Disclaimer: use with care, I'll not be held responsible for your JVM burning up in flames)</sub>
With the love of ~~JNI~~ Unsafe & MethodHandles/VarHandles API from Java 9 - 23, this provides:

With the love of JNI, this supports:

1. Breaking down the Java Platform Module System (JPMS) to allow Reflection into any base or requested modules
2. Removal of Reflection Filters, allows retrieval of any fields/methods from classes that were previously blocked:
1. Public-facing `sun.misc.Unsafe` API instance & maximum priviledge **(TRUSTED)** `MethodHandles$Lookup` instance.
2. Breaking down the Java Platform Module System (JPMS) to open up any specified module
3. Disguise as any specified Module, in order to fool `@CallerSensitive` methods
4. Removal of Reflection Filters, allows retrieval of any fields from classes that were previously blocked:

- `jdk.internal.reflect.ConstantPool`
- `jdk.internal.reflect.Reflection`
Expand All @@ -24,6 +24,5 @@ With the love of JNI, this supports:
- `java.lang.System`
- `java.lang.invoke.MethodHandles$Lookup`
- `java.lang.reflect.AccessibleObject`
- `sun.misc.Unsafe`

Namesake: [Toaru Majutsu no Index](https://en.wikipedia.org/wiki/A_Certain_Magical_Index)

0 comments on commit daea66c

Please sign in to comment.