[Soot-list] load class of different packages
Bodden, Eric
eric.bodden at sit.fraunhofer.de
Thu Apr 2 04:03:48 EDT 2015
Hi Pegah.
Best don't use loadClassAndSupport unless you really know what you are doing. We really should make this a private API...
Cheers,
Eric
> On 02.04.2015, at 07:21, Pegah Jandaghi <jandaghi72 at gmail.com> wrote:
>
> Hello everyone
>
> I have run soot for simple classes and the line below(for loading class)
> "SootClass sClass = Scene.v().loadClassAndSupport(className);"
> works properly when there is no refrence to other packages of the project. but when there are objects of classes of different packages I get this exception:
> Exception in thread "main" soot.CompilationDeathException: there were errors during parsing and/or type checking (JastAdd frontend)
> and also it prints some semantic errors that it can't find refrenced classes and their object types is not visible.
>
> Is there any to solve this problem?
>
> thanks
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422 Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150402/e8ef791e/attachment.bin
More information about the Soot-list
mailing list