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

Amit ciphermaker99 at gmail.com
Wed Jun 20 02:00:11 EDT 2012


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20120620/ef73fd29/attachment.html 


More information about the Soot-list mailing list