Repository navigation
Create jadx-emulator.json - #26
Conversation
|
@skylot take a look please :) |
|
@nitanmarcel looks nice 👍 Although, we may need to simplify it somehow, for example, your plugin extensions can be directly jadx plugins but use your plugin instance to register (it is already working for input plugins: P.S.: It will be nice to have string decryptor jar in release to avoid building it manually. Or even include it in |
|
Added to v25 plugins list 🎉 |
I forgot to upload the jar 😅 I'll do it as soon as I open my PC. I've been under the impression that each plugin is contained and they can't access each other, but I'll take a look at that dex/smali-input plugins to see how they work with each other. |
I've added a small debug in the string extension to print the class loader and seems that I was right. Each plugin gets it's own URLClassLoader and can't see each other. It can be hacked around from the string extension, but each extension practically needs to do the same thing. Easier will be if jadx has some kind of requirement management for plugins, the idea is already there with They get installed in the same directory, get the same class loader, and |
|
Or a new plugin type who's main scope is to provide APIs to other plugins. But a requirement implementation would be better because it could also assert if plugin X required by plugin Y is installed, or even automatically pull the requirement. One is hacky, takes just a few lines to implement: if plugin marked as api, append it to all plugin's classloader. |
|
@nitanmarcel thanks for checking that and for suggestions. I will open a new jadx issue for futher discussion. |
|
Pushed a small update to fix some small bugs. Are plugins automatically updating on this side? |
This list holds only plugins metadata, so you need create PR here only if you update plugin name, description or location.
I plan to implement periodic auto update checks in next release. |
A port of the emulation core of a forgotten project I had: jdex. It so happened that I ran out of space and during the cleanup I came across some sample apk files that I used to test the project on.
In the original form it was able to perform string decryption that usually require the actual code to run and even defeat obfuscators that took advantage of jadx's limitation to purposely emit broken decompilation.
The string deobfuscation part is also ported as an extension for this plugin. But without the native emulation part
https://github.com/nitanmarcel/jadx-emu-string-deobfuscator