[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Strange bug related to soot.Scene



Hello again.

> java.lang.Runtime exec() does essentially the same thing as the
> exec() in the C standard library. It causes the operating system to
> start the specified process. In particular, it can be used to start
> a Java VM, running Soot, for example.

Ok, first I have to say that this "solution" really sounds very strange
for me since such code tweaking should be abandoned. So I would really
appreceate a better / real solution here. I mean: Things like
SootClass.setApplicationClass() are really not hard to implement and so
I really don't understand how this can cause any sideeffects (which are
apparently there - otherwise it would work). Maybe the tradeoff between
efficiency and system safety should be moved a little bit further
towards safety here...
The bad thing for me is that my application is for a (to be marked)
university project and submission is in two weeks :-/.

Second: I still do not quite understand how I should use Runtime.exec()
here. I understand this invokes a commandline expression in a new
process. So do you want me to pass something like "java
ClassWhich(Re)StartsAnalysis" to this commandline???

Thanks again,
Eric