Re: Re: android
Rémi Forax <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
On 04/13/2011 04:31 PM, Eugene Kuleshov wrote: > No, it is not possible. Android is using Dalvik VM, which has its > own proprietary bytecode format which is converted. Unless you want to > use ASM at the build time, before your Java butecode is converted to > Dalvik. > > regards, > Eugene Right ! The icedrobot project http://www.icedrobot.org/ has a Dalvik DEX parser which use visitors like ASM but there is no DEXWriter. Smali http://code.google.com/p/smali/ is a DEX assembler that is able to read/write it but use a lot of memory (sometimes several Gigs). Also I should add that the DEX format is not fully strongly typed so it's harder to instrument than the Java bytecode. By example, null and 0 have the same encoding. regards, Rémi > On Wed, Apr 13, 2011 at 9:39 AM,<[email protected]> wrote: >> Has anyone attempted to use ASM to instrument byte code on an android operating >> system? Is this even possible? >> >> thanks >> >> Mike >> >> >> -- >> You receive this message as a subscriber of the [email protected] mailing list. >> To unsubscribe: mailto:[email protected] >> For general help: mailto:[email protected]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >>
message-footer.txt
(text/plain, 238 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws