[Soot-list] couldn't load a class created earlier

Marc-André Laverdière marc-andre.laverdiere-papineau at polymtl.ca
Tue Oct 15 09:18:18 EDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Ashish,

There are so many things that could be going wrong, so let me ask a
bunch of stuff and maybe one of those will help :)

1) Have you tried generating the file in one invocation of Soot and
reading it in a second one? This would rule out whether the generated
file was wrong or not.

2) Is your generated class having the same name as another class? If
so, are your setting -src-prec correctly?

3) Is the directory where you write the file in both the class path
and the process path or only one of them?

4) Just making sure - you tried using forceResolve, right?

5) Are you having the directory where you write that file in the class
path directly, or as a subdir? If so, the package name could've been
augmented that directory subtree.

6) Have you turned on -debug-resolver?

General question for everyone: is Soot even reading Jasmin input, or
only producing it?

Marc-André Laverdière-Papineau
Doctorant - PhD Candidate

On 10/14/2013 11:32 PM, ASHISH MISHRA wrote:
> Thanks for the reply ,
> 
> I still can't get it loaded by Soot, although I changed my
> approach and got my problem resolved. I get the Scene reset when i
> use the reset option, but the problem I am facing is that I the
> soot couldn't find the class i created using soot and wrote using 
> JasminWriter. Although the class is present on the class-path 
> specified by me. I am not able to understand the possible cause,
> is it possible that the class file created using Jasmin has some 
> errors due to which this is happening.
> 
> 
> On Tue, Oct 15, 2013 at 12:16 AM, Marc-André Laverdière-Papineau 
> <marc-andre.laverdiere-papineau at polymtl.ca 
> <mailto:marc-andre.laverdiere-papineau at polymtl.ca>> wrote:
> 
> Hi,
> 
> It was a while ago that I tried that kind of stuff. I will see if I
> get a real case and submit a bug. We'll consider it a urban legend
> until then ;)
> 
> Marc-André Laverdière-Papineau Doctorant - PhD Candidate
> 
> On 14/10/13 10:55 AM, Bodden, Eric wrote:
>> Hi all.
> 
>>> a) The reset is not a perfect reset, so if you really need a 
>>> clean slate, it is better to run two invocations of soot.
> 
>> That's not true. Soot should not keep any state is reset() is 
>> called. Looks like a bug to me.
> 
>> Eric
> 
> _______________________________________________ Soot-list mailing 
> list Soot-list at sable.mcgill.ca <mailto:Soot-list at sable.mcgill.ca> 
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> 
> 
> 
> 
> -- Regards, Ashish Mishra Graduate Student, Computer Science and 
> Automation Department,IISc Cell : +91-9611194714 Mailto : 
> ashishmishra at csa.iisc.ernet.in 
> <mailto:ashishmishra at csa.iisc.ernet.in>
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSXUCaAAoJEGELVLHCizSf1VMIALUwDTUiamF5fzmOPP/FUfmA
X4+IH8Mbvi4LPyVhaw8/f4Y5F7fENmcQSE0tmtpUuQVmPW4Axo70kInUMj8Xvo51
KVp1ssdpJH0URowV6O1Gk9PMDIGJOdEDayk/ctZwpQd7fD50+3PPfLz/knydxX6R
wklq7d43tbY4KarVzYEdp6BpNQaMWnJxmVhnUmFUXOEnHt2jIDE5o7qQ/jqa5z1M
uTjST8rUTsWERvSnzkyubMrBJgwBuB+MRKe/Pa+EsnyUfhU+F2yZyG/QG6mP4Hwt
lJO12cMr1m9sMpAbTW4tvc0mPvMGHuR0bzeQZLyyFayFBoc4+0P3MKaJ5iuX7YI=
=mUZx
-----END PGP SIGNATURE-----


More information about the Soot-list mailing list