radioegor146 / native-obfuscator

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

DeleteLocalRef #3

Closed radioegor146 closed 5 years ago

radioegor146 commented 5 years ago

Delete unused local refs at cstack.pop/pop2/popcnt/clear/set/setref/set2 and clocals.set/set2/setref to prevent memory leaks. Also try to call native functions from native functions (not to make lots of calls to JNI (if class.methods.get("native...").... code.append("callto_it_method(args)");).

radioegor146 commented 5 years ago

Ready (currently in branch tests)