radioegor146 / native-obfuscator

Java .class to .cpp converter for use with JNI
GNU General Public License v3.0
501 stars 67 forks source link

Can we convert the .class by function level ? #33

Closed gzthinkland closed 2 years ago

gzthinkland commented 5 years ago

Can we convert the .class by function level ? If yes, how can we realize it ?

radioegor146 commented 5 years ago

It is probably possible for some functions, however the idea of this converter was to create code that will be identical to java bytecode. Nevertheless, if you want to create some way of true AoT compilation, at least you need to create a decent garbage collector and implement some functions in pure C/C++.

Zaxar163 commented 5 years ago

First question is what GC is better (mark and sweep in CPP is impplemented in 3 libraries) Mark and sweep? custom?

radioegor146 commented 2 years ago

Added text to README on how to filter specific functions.