[Soot-list] process-dir option couldn't find the classes inside directory

Marc-Andre Laverdiere-Papineau marc-andre.laverdiere-papineau at polymtl.ca
Thu May 2 11:52:15 EDT 2013


Hello,

IIRC, the process path needs to be in the class path as well. Have you 
tried that?

On 2013-05-02 06:00, ASHISH MISHRA wrote:
> Hi All,
>
> I am trying to use the process-dir option of soot, but I get the
> following exception-
> /*Exception in thread "main" java.lang.RuntimeException: couldn't find
> class: ClassC (is your soot-class-path set properly?)
> */
>
>
> my soot options are as follows -
> public class CallGraphAndroid {
>
> public static void main(String[] args) {
>
> String[] soot_option = {
> "-w",
>
> "-p",
> "jb",
> "use-original-names:true",
> "-p",
> "cg",
> "enabled:true",
> "-pp",
> "-cp",
> ".",
> "-process-dir",
> "./test_directory"
> };
>
> and I have these class files under test_directory-
>
> ClassA, ClassB, ClassC, ClassD.
>
> PS. If I pass separate files like test_directory.ClassA/C/D the analysis
> runs fine.
>
> Any one else faced similar problem or has some clues regarding the issue .
>
> Thanks
>
> --
> 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>
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


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




More information about the Soot-list mailing list