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
I'm currently looking into Android support on my project, Recaf (rewrite work where this would apply to), and am evaluating a number of potential paths. One such path would be the following:
Read a DexFileNode from classes.dex
Take each DexClassNode instances, store in a Map<String, DexClassNode>
When a Android class is edited, lazily map it to a JVM class, edit that, then map back into DexClassNode
Save changes to classes.dex by using DexFileWriter to take the Map<String, DexClassNode> and pack it back into classes.dex
One problem, I don't see anything to facilitate a Asm2Dex process. If need be I'd be willing to contribute work towards making it.
If you have any thoughts on how this process could be improved I'd love to hear 'em.
The text was updated successfully, but these errors were encountered:
Hi, that's a good one! dex2jar uses the dx compiler for its jar2dex command which would trigger a complete recompile (which is the reason why it is a bit wonky -- see here)
An option to facilitate asm2dex would be very nice indeed. The closest option for now are the methods in the J2IRConverter class
I'm currently looking into Android support on my project, Recaf (rewrite work where this would apply to), and am evaluating a number of potential paths. One such path would be the following:
DexFileNode
fromclasses.dex
DexClassNode
instances, store in aMap<String, DexClassNode>
DexClassNode
classes.dex
by usingDexFileWriter
to take theMap<String, DexClassNode>
and pack it back intoclasses.dex
One problem, I don't see anything to facilitate a
Asm2Dex
process. If need be I'd be willing to contribute work towards making it.If you have any thoughts on how this process could be improved I'd love to hear 'em.
The text was updated successfully, but these errors were encountered: