Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2005

Tip: Looking for answers? Try searching our database.

J2ME  disassembler?

Thread view: 
Joseph - 20 May 2005 07:55 GMT
I recall that with java applets (bytecode) you can use a disassembler
to reverse compile and so output a source code .java file from any
.class file.  Is this still true with J2ME bytecodes?  Can you still
achieve the same effect?

What are some good disassembler for java ?
Daniel Tahin - 20 May 2005 08:55 GMT
Hi,

I have used this Java SDK disassembler before:
http://kpdus.tripod.com/jad.html#download
This worked well. I don't know, perhaps it's ok for J2ME as well
(because J2ME uses the same compiler, or not?)...

Joseph schrieb:
> I recall that with java applets (bytecode) you can use a disassembler
> to reverse compile and so output a source code .java file from any
> .class file.  Is this still true with J2ME bytecodes?  Can you still
> achieve the same effect?
>
> What are some good disassembler for java ?
Darryl Pierce - 22 May 2005 12:38 GMT
> I recall that with java applets (bytecode) you can use a disassembler
> to reverse compile and so output a source code .java file from any
> ..class file.  Is this still true with J2ME bytecodes?  Can you still
> achieve the same effect?

Yes, Bytecodes are bytecodes. The only difference is that with the MIDP
the bytecodes are preverified before being loaded onto the device.

> What are some good disassembler for java ?

Try JAD or javap.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

Joseph - 27 May 2005 16:08 GMT
> > I recall that with java applets (bytecode) you can use a disassembler
> > to reverse compile and so output a source code .java file from any
[quoted text clipped - 12 lines]
> Visit my homepage: http://mcpierce.multiply.com
> "By doubting we come to inquiry, through inquiry truth." - Peter Abelard

Because its preverified.  Wouldn't that means java disassembler won't
be able to deal with it? as it requires pure bytecode.  Does preverify
do anything to the bytecode?  I know that it changes the size of my
compiled j2me.
Darryl Pierce - 31 May 2005 01:38 GMT
>>>I recall that with java applets (bytecode) you can use a disassembler
>>>to reverse compile and so output a source code .java file from any
[quoted text clipped - 9 lines]
>
> Because its preverified.

So?

> Wouldn't that means java disassembler won't
> be able to deal with it? as it requires pure bytecode.  Does preverify
> do anything to the bytecode?  I know that it changes the size of my
> compiled j2me.

It does nothing to it that would bother the a decompiler. Have you
actually *tried* JAD yet?

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.