-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request for Dex compilation enhancement #28
Comments
Can you please explain the difference you are seeing? If the input you are reading has been processed by R8, then #6 might cause a difference. This will be version 3.0.0 vs 3.0.1. Otherwise the library move from https://github.com/JesusFreke/smali to here did not introduce any functional changes, basically just a namespace change. |
.. i am asking you to enhance how a developer did it which is not currently possible on new smali lib.. so please enhance the Dex reading process, compilation process |
I am still not sure I understand the exact issue. The reference to https://github.com/L-JINBIN/ApkSignatureKiller/tree/3a3e49157068887dcd8efabf2fcc5ad6cbbd88a2/dexlib2 is a 7-year old version (copy?) of Or are you seeing that using |
Until now i not able to make like that Enhancement by analysing each codes of that modified dexlib2 for latest dexlib2 that was really very time consuming + iam not properly familiar with such codes as you are.. and later i close the project and ask you.. if you understand. dexPool.internClass(classDef); this is too slow while interning classDef I too not understand how can i explain you.. Thank you.. you are really great ❤️ |
Hi sir..You got some ideas??? |
We have no current plans for working on the performance of |
Sir i think you misunderstanding my question.. And i think you forgot the difference of D8 and dexlib2 library..these are too much different in there work.. Because we are Reverser we know dexlib2 is the the best project that can help us to decode dalvik Dex file .. It can help us to edit Smali code and building back to Dex file and much more things like my private project Dex strings Decryption etc.. But my problem is with compilation of Dex and speed in decoding of Dex ..Which is too slow not only on PC but also for android.. but the old modified dexlib2 that I shared you having some extra codes that helps in Dex decode and Dex compilation enhancement.. Sorry if you are not working on these plans.. |
Hello sir.. finally I implemented enhancing code inside new version of smali library..and I have published a project please check it out Usage part |
does it speeded up and also support dex version 40 and 41? |
Check my modified library |
Check usage and dig other modified classes..I made several changes..and also for quick access you should check instruction folder for instruction classes And a new class added UpdateReference you can check where it is used |
thanks , 🌞✨ |
@developer-krushna MT Manager compiles smali code faster than the latest dexlib2 library because it uses an optimized project structure to improve Dex file compilation. The directory structure is as follows: _dex: Stores compiled Dex files. build: Contains files generated during compilation, which help speed up future compilations. config: Holds project configuration files. data: Stores the original Dex file and a code cache, which accelerates code searching. smali: Contains folders corresponding to different Dex files, where each folder holds edited and newly added classes. |
@Lohita9 I know the method which MT manager uses but the fact is .. for improving the speed, smali library enhancement also plays a major key role ... Basically I did this in my project.. how ever I will try to implement the same feature in my project very soon |
Why this modified library is so speed in compilation, parsing while the original one is too slow to parse and compile ????
https://github.com/L-JINBIN/ApkSignatureKiller/tree/3a3e49157068887dcd8efabf2fcc5ad6cbbd88a2/dexlib2
The text was updated successfully, but these errors were encountered: