Comments (9)
Can you tell me how Invokedynamic obfuscation works? Then I would add it.
from obfuscator.
It replaces method invocations (and sometimes field accesses) with an invokedynamic opcode which was introduced in java 7. The invokedynamic bootstrap returns a CallSite containing a MethodHandle to the target we want to invoke/access.
Virtual invocations use an objectref to invoke upon the object they are instantiated upon so you need to account for this by adding an extra object parameter into the invokedynamic bootstrap (another issue with your invokedynamic transformer, you forgot to account for objectref on stack).
The array issue is an bug/issue with the hotspot so it's generally casted.
from obfuscator.
Ok
from obfuscator.
@ByteCode-Dan Can you send me a documentation of invokedynamic? I will start with it
from obfuscator.
Hmmm, there isn't much documentation on it.
https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.10.1.9.invokedynamic
from obfuscator.
I am working on it. If there's no error, I will commit the changes today.
from obfuscator.
@ByteCode-Dan Got it. Start the obfuscator with --invokeDynamic. https://github.com/superblaubeere27/obfuscator/releases
from obfuscator.
@superblaubeere27 Just tested it, seems fine to me.
from obfuscator.
- Field access obfuscation
from obfuscator.
Related Issues (20)
- java.iofilenotfoundexeption: could not open output file
- my gui wont load HOT 2
- gui brokey HOT 2
- java.lang.IllegalStateException: Failed to compile Script HOT 1
- Minecraft Exception in "Client Thread" HOT 1
- Log4j library obfuscation error
- Running obfuscated jar throws java.lang.ClassNotFoundException
- java/lang/Object not found HOT 3
- After it loads all the libs it just can read all of my project's classes HOT 3
- JDA bot obfuscation error
- Please update the link to the discord server.
- SUPPORT FOR .APK HOT 1
- Error While Running Application on MacOS
- InvalidPluginException: Cannot find main class `path.to.MainClass` when Packager is enabled
- Unable to open nested jar file 'BOOT-INF'
- Obfuscation Error, NoSuchMethodException: Integer.intValue(java.lang.Integer)
- Wrong JObfImpl Instance is configured when using command line
- java.lang.OutOfMemoryError: Java heap space HOT 1
- GUI mode won't open (OpenJDK 8)
- obfuscator.jar doesn't exists HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obfuscator.