[Soot-list] Soot Instrumenting Try/Finally

Wing Lam wing.c.lam at gmail.com
Tue Oct 15 14:59:45 EDT 2013


Hi,

I am a research student at the University of Washington and am trying to
use Soot to instrument some test classes. What I am trying to do is to
instrument every test case within a test class to be in a try/finally
clause.

As an example, I would like to instrument testA from

testA() {
    ...
    ...
}

to

testA() {
  try {
    ...
    ...
  } finally {
     output current results to file
  }
}

Would you guys happen to have some suggestions on how I can use Soot to
accomplish this?

Thanks,
Wing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20131015/1b7f37b9/attachment.html 


More information about the Soot-list mailing list