You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# native-obfuscator
2
2
Java .class to .cpp converter for use with JNI
3
3
4
-
Currently fully supports only Java 8. Java 9+ support is entirely experimental
4
+
Currently fully supports only Java 8. Java 9+ and Android support is entirely experimental
5
5
6
6
Warning: blacklist/whitelist usage is recommended because this tool slows down code significantly (like do not obfuscate full Minecraft .jar)
7
7
@@ -64,8 +64,8 @@ Transpiles .jar file into .cpp files and generates output .jar file
64
64
Directory for dependent libraries
65
65
-p, --platform=<platform>
66
66
Target platform: hotspot - standard standalone
67
-
HotSpot JRE, std_java - java standard (as for
68
-
Android)
67
+
HotSpot JRE, std_java - java standard, android -
68
+
for Android builds (w/o DefineClass)
69
69
--plain-lib-name=<libraryName>
70
70
Plain library name for LoaderPlain
71
71
-V, --version Print version information and exit.
@@ -83,9 +83,10 @@ Transpiles .jar file into .cpp files and generates output .jar file
83
83
84
84
`-p <platform>` - JVM platform to run library on
85
85
86
-
Two options are available:
87
-
- hotspot: will use HotSpot JVM internals and should work with most obfuscators (even with stack trace checking as well)
88
-
- std_java: will use only minor JVM internals that are also available on Android. Use only this option if you want to run your library on Android
86
+
Three options are available:
87
+
-`hotspot`: will use HotSpot JVM internals and should work with most obfuscators (even with stack trace checking as well)
88
+
-`std_java`: will use only minor JVM internals that must be available on all JVMs
89
+
-`android`: use this method when building library for Android. Will use no JVM internals, as well as no DefineClass for hidden methods (obfuscators that rely on stack for string/name obfuscator will not work due to the fact that some methods will not be hidden)
0 commit comments