[Soot-list] "in-memory" input to Soot

Stephan Arlt arlt at informatik.uni-freiburg.de
Thu Jun 27 00:15:23 EDT 2013


Hi,
 
We are currently integrating our tool Joogie (which incorporates Soot) into a web service. As far as I know, Soot only accepts input files (*.jar, *.java, *.class) from the command line, that is, using soot.Main.main(...). Is there an 'in-memory' way of introducing input to Soot? For example, is it possible to use a BufferedReader?
 
The thing is, our web service receives a Java program posted from a HTML form. Most web service providers (e.g., Google AppEngine) do not allow write access to the file system. Thus, we cannot just save the Java program (posted from a HTML form) to a file, and then forward it to Joogie and Soot respectively.
 
Thanks,
Stephan


More information about the Soot-list mailing list