[Soot-list] possible bug? (using -dump-cfg on windows)

Eric Bodden eric.bodden at ec-spride.de
Wed Jun 20 10:52:21 EDT 2012


Thanks for letting us know Amit.

Do you think you would be able to craft a patch to fix this?

Cheers,
Eric

On 20 June 2012 08:00, Amit <ciphermaker99 at gmail.com> wrote:
> When I use the option -dump-cfg with certain options (e.g. ALL)
> soot tries to create directories containing invalid characters in windows.
>
> For example I get the following trace
> PhaseDumper.dumpBody() caught: java.io.IOException: Unable to mkdirs
> c:\test\sootOutput\java.lang.Object\void <init>()
> java.io.IOException: Unable to mkdirs
> c:\test\sootOutput\java.lang.Object\void <init>()
>         at
> soot.util.PhaseDumper.makeDirectoryIfMissing(PhaseDumper.java:169)
>         ...
>
> What is happening is that soot is trying to create a directory with the name
>
> c:\test\sootOutput\java.lang.Object\void <init>()
>
> However, the < and > characters are not allowed in file/directory names in
> Windows.
> This seems to be a bug.
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>



-- 
Eric Bodden, Ph.D., http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Principal Investigator in Secure Services at CASED
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list