[Soot-list] Compilation errors

Eric Bodden bodden at st.informatik.tu-darmstadt.de
Wed Jul 27 07:36:49 EDT 2011


Hi.

One question: are you giving source code as input (.java files) or .class files?

Eric

2011/7/27 Роман Мельников <melnikov.roman at gmail.com>:
> Hello,
>
> I have some errors that I cannot understand. I try to compile some classes
> by Soot and set "-cp" with all of the required directories and jar-files. In
> my case I try to compile BigAppFactory class with next line
> (BigAppFactiry.java is placed at the [dir]\BigApp):
>       java -jar soot-2.4.0.jar -pp -allow-phantom-refs -cp [dir]\BigApp
> BigAppFactory
> but get this error:
>      [exec] [dir]\BigApp\BigAppFactory.java:40,3:
>      [exec] Semantic Error: no visible type named RootObject
> RootObject class is placed at the same dir as the BigAppFactory.
>
> If I add the "-allow-phantom-refs" option, I got the same error, but if I
> delete -cp directory and left the "-allow-phantom-refs" option, than
> compilation seems ok but application would work incorrect. How can I give
> access to compilator to classes that it requires? Or problem is in another
> place?
>
> Thanks in advance and sorry for my english, it's not my native language.
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>



-- 
Dr. Eric Bodden, http://bodden.de/
Principal Investigator in Secure Services at CASED
Coordinator of the CASED Advisory Board of Study Affairs
PostDoc at Software Technology Group, Technische Universität Darmstadt
Tel: +49 6151 16-5478    Fax: +49 6151 16-5410
Mailing Address: S2|02 A209, Hochschulstraße 10, 64289 Darmstadt


More information about the Soot-list mailing list