[Soot-list] How compiled class from the main program's execut ion ?

Dionne, Sebastien Sebastien.Dionne at fbn.ca
Wed Jul 4 10:37:32 EDT 2007


I tought that the -f dava option was for decompiling the class file into
java, but Soot wasn't trying to run the application.  

if I just try with the -f dava option isn't working. (see errors below)

can Soot run the application and generate the source file from the execution
?


something like that

soot.Main -f dava (missing options...)  "com.xxx.xxx.ApplicationMain -host
127.0.0.1 -port 1234 -test..."




Starting ...soot.Main --keep-line-number --xml-attributes --f dava --cp
C:\workspace\Soot_test\bin;C:\jdk_5\jre\lib\rt.jar;C:\jdk_5\jre\lib\jsse.jar
;C:\jdk_5\jre\lib\jce.jar;C:\jdk_5\jre\lib\charsets.jar;C:\jdk_5\jre\lib\ext
\dnsns.jar;C:\jdk_5\jre\lib\ext\localedata.jar;C:\jdk_5\jre\lib\ext\sunjce_p
rovider.jar;C:\jdk_5\jre\lib\ext\sunpkcs11.jar --d
C:\workspace\Soot_test\sootOutput --process-dir C:\workspace\Soot_test\bin 
Soot started on Tue Jul 03 10:21:42 EDT 2007
Verifying exception handling.. Warning: using incomplete callgraph
containing only application classes.
[Call Graph] For information on where the call graph may be incomplete, use
the verbose option to the cg phase.
. 

Decompiling com.bridge.feed.server.BFContext... 
Decompiling com.bridge.feed.server.BFContextAdmin... 
Decompiling com.bridge.feed.server.BFContextAuthentication... 
Decompiling com.bridge.feed.server.BFContextDLC... 
Decompiling com.bridge.feed.server.BFContextLogin... 
Decompiling com.bridge.feed.server.BFContextStartup... 
Decompiling com.bridge.feed.server.BFCrypt... 
Decompiling com.bridge.feed.server.BFDriver... 
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at ca.mcgill.sable.soot.launching.SootThread.run(SootThread.java:83)
Caused by: java.lang.RuntimeException: Could not verify approximated
Synchronized body!
Method:
<com.bridge.feed.server.BFDriver: void
a(com.bridge.feed.server.BFContext)>Body:








 


Sébastien Dionne ing. jr.
Financière Banque Nationale
Analyste programmeur Senior
tel : 514-879-3107
courriel : sebastien.dionne at fbn.ca

-----Original Message-----
From: eric.bodden at googlemail.com [mailto:eric.bodden at googlemail.com] On
Behalf Of Eric Bodden
Sent: 2007/07/04 10:28
To: Dionne, Sebastien
Cc: soot-list at sable.mcgill.ca
Subject: Re: [Soot-list] How compiled class from the main program's
execution ?

yes, use this command line option: -f dava

Eric

On 04/07/07, Dionne, Sebastien <Sebastien.Dionne at fbn.ca> wrote:
> is it possible to decompile class into .java executing the main program ?
>
>
> **************************************************
> AVIS DE NON-RESPONSABILITE: Ce document transmis par courrier electronique
est destine uniquement a la personne ou a l'entite a qui il est adresse et
peut contenir des renseignements confidentiels et assujettis au secret
professionnel. La confidentialite et le secret professionnel demeurent
malgre l'envoi de ce document a la mauvaise adresse electronique. Si vous
n'etes pas le destinataire vise ou la personne chargee de remettre ce
document a son destinataire, veuillez nous en informer sans delai et
detruire ce document ainsi que toute copie qui en aurait ete faite. Toute
distribution, reproduction ou autre utilisation de ce document est
strictement interdite. De plus, le Groupe Financiere Banque Nationale et ses
filiales ne peuvent pas etre tenus responsables des dommages pouvant etre
causes par des virus ou des erreurs de transmission.
>
> DISCLAIMER: This documentation transmitted by electronic mail is intended
for the use of the individual to whom or the entity to which it is addressed
and may contain information which is confidential and privileged.
Confidentiality and privilege are not lost by this documentation having been
sent to the wrong electronic mail address. If you are not the intended
recipient or the person responsible for delivering it to the intended
recipient please notify the sender immediately and destroy this document as
well as any copies of it. Any distribution, reproduction or other use of
this document is strictly prohibited. National Bank Financial Group and its
affiliates cannot be held liable for any damage that may be caused by
viruses or transmission errors.
> **************************************************
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada

**************************************************
AVIS DE NON-RESPONSABILITE: Ce document transmis par courrier electronique est destine uniquement a la personne ou a l'entite a qui il est adresse et peut contenir des renseignements confidentiels et assujettis au secret professionnel. La confidentialite et le secret professionnel demeurent malgre l'envoi de ce document a la mauvaise adresse electronique. Si vous n'etes pas le destinataire vise ou la personne chargee de remettre ce document a son destinataire, veuillez nous en informer sans delai et detruire ce document ainsi que toute copie qui en aurait ete faite. Toute distribution, reproduction ou autre utilisation de ce document est strictement interdite. De plus, le Groupe Financiere Banque Nationale et ses filiales ne peuvent pas etre tenus responsables des dommages pouvant etre causes par des virus ou des erreurs de transmission.

DISCLAIMER: This documentation transmitted by electronic mail is intended for the use of the individual to whom or the entity to which it is addressed and may contain information which is confidential and privileged. Confidentiality and privilege are not lost by this documentation having been sent to the wrong electronic mail address. If you are not the intended recipient or the person responsible for delivering it to the intended recipient please notify the sender immediately and destroy this document as well as any copies of it. Any distribution, reproduction or other use of this document is strictly prohibited. National Bank Financial Group and its affiliates cannot be held liable for any damage that may be caused by viruses or transmission errors.
**************************************************




More information about the Soot-list mailing list